svn commit: [25600] trunk/buildroot/package/libcurl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

svn commit: [25600] trunk/buildroot/package/libcurl

Peter Korsgaard-3
Author: jacmet
Date: 2009-03-10 21:03:14 +0000 (Tue, 10 Mar 2009)
New Revision: 25600

Log:
libcurl: fix configure with openssl when target == host.

Modified:
   trunk/buildroot/package/libcurl/libcurl.mk


Changeset:
Modified: trunk/buildroot/package/libcurl/libcurl.mk
===================================================================
--- trunk/buildroot/package/libcurl/libcurl.mk 2009-03-10 21:03:10 UTC (rev 25599)
+++ trunk/buildroot/package/libcurl/libcurl.mk 2009-03-10 21:03:14 UTC (rev 25600)
@@ -13,6 +13,11 @@
 ifeq ($(BR2_PACKAGE_OPENSSL),y)
 LIBCURL_DEPENDENCIES += openssl
 LIBCURL_CONF_ENV += ac_cv_lib_crypto_CRYPTO_lock=yes
+# configure adds the cross openssl dir to LD_LIBRARY_PATH which screws up
+# native stuff during the rest of configure when target == host.
+# Fix it by setting LD_LIBRARY_PATH to something sensible so those libs
+# are found first.
+LIBCURL_CONF_ENV += LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:/lib:/usr/lib
 LIBCURL_CONF_OPT += --with-ssl=$(STAGING_DIR)/usr --with-random=/dev/urandom
 endif
 

_______________________________________________
buildroot mailing list
[hidden email]
http://lists.busybox.net/mailman/listinfo/buildroot
Loading...