summaryrefslogtreecommitdiff
path: root/package/libcurl/libcurl.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libcurl/libcurl.mk')
-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 fb04da05d..44c23170d 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))