summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-05-27 05:18:43 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2009-05-27 05:18:43 (GMT)
commit3169b04725d45ed96059f0b14456b80ff1ac02df (patch)
tree591c476a9d69ef676cc5ef1b9d6cc52d9f7ba3f4
parentf9af543a250cbe00cf2027183fb26f849c41cdd0 (diff)
downloadbuildroot-3169b04725d45ed96059f0b14456b80ff1ac02df.tar.gz
buildroot-3169b04725d45ed96059f0b14456b80ff1ac02df.tar.bz2
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>
-rw-r--r--package/libcurl/libcurl.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/libcurl/libcurl.mk b/package/libcurl/libcurl.mk
index fb04da0..44c2317 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))