Commit 3169b047 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent f9af543a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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))