mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
libcurl: fix configure with openssl when target == host.
This commit is contained in:
parent
3628265911
commit
a51ce31949
@ -13,6 +13,11 @@ LIBCURL_CONF_OPT = --disable-verbose --disable-manual --enable-hidden-symbols \
|
|||||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||||
LIBCURL_DEPENDENCIES += openssl
|
LIBCURL_DEPENDENCIES += openssl
|
||||||
LIBCURL_CONF_ENV += ac_cv_lib_crypto_CRYPTO_lock=yes
|
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
|
LIBCURL_CONF_OPT += --with-ssl=$(STAGING_DIR)/usr --with-random=/dev/urandom
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user