From 3169b04725d45ed96059f0b14456b80ff1ac02df Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 27 May 2009 07:18:43 +0200 Subject: [PATCH] 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 --- package/libcurl/libcurl.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk index fb04da05dd..44c23170d0 100644 --- a/package/libcurl/libcurl.mk +++ b/package/libcurl/libcurl.mk @@ -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)) -- 2.30.2