92777aa297
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
909 B
Diff
23 lines
909 B
Diff
Use correct curl-config program
|
|
|
|
Instead of calling again curl-config in src/Makefile (which ends up
|
|
calling the wrong curl-config: the one in the PATH instead of the one
|
|
pointed at by the environment variables at configure time), let's use
|
|
the CURL_LDADD variable which was computed at configure time.
|
|
|
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
|
|
|
Index: b/src/Makefile
|
|
===================================================================
|
|
--- a/src/Makefile
|
|
+++ b/src/Makefile
|
|
@@ -56,7 +56,7 @@
|
|
TRANSPORT_MODS += blddir/lib/curl_transport/curltransaction
|
|
TRANSPORT_MODS += blddir/lib/curl_transport/curlmulti
|
|
TRANSPORT_MODS += blddir/lib/curl_transport/lock_pthread
|
|
- TRANSPORT_LIBDEP += $(shell curl-config --libs)
|
|
+ TRANSPORT_LIBDEP += $(CURL_LDADD)
|
|
endif
|
|
ifeq ($(MUST_BUILD_LIBWWW_CLIENT),yes)
|
|
TRANSPORT_MODS += blddir/lib/libwww_transport/xmlrpc_libwww_transport
|