curl: make sure openssl isn't tried when the openssl package isn't enabled
Works around build errors caused by broken Xorg dependencies. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
f9af543a25
commit
3169b04725
@ -19,6 +19,8 @@ LIBCURL_CONF_ENV += ac_cv_lib_crypto_CRYPTO_lock=yes
|
||||
# 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
|
||||
else
|
||||
LIBCURL_CONF_ENV += --without-ssl
|
||||
endif
|
||||
|
||||
$(eval $(call AUTOTARGETS,package,libcurl))
|
||||
|
Loading…
Reference in New Issue
Block a user