mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-08 23:51:08 -09:00
package/libcurl: drop override of LD_LIBRARY_PATH
A previous commit [1] (libcurl 7.19.2) configured `LD_LIBRARY_PATH` to prevent cross-compiling errors when target == host; however, such an override is no longer needed [2][3] (libcurl 7.37, 7.74) and causes build errors in some environments. Dropping the override. Fixes: - https://bugs.busybox.net/show_bug.cgi?id=15181 [1]:a51ce31949[2]:e48a821ed5[3]:6f3369bbcfSigned-off-by: James Knight <james.d.knight@live.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
8520da532b
commit
6b6814f149
@@ -56,11 +56,6 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL_OPENSSL),y)
|
||||
LIBCURL_DEPENDENCIES += openssl
|
||||
# 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=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)/lib:/usr/lib
|
||||
LIBCURL_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr \
|
||||
--with-ca-path=/etc/ssl/certs
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user