curl: make sure openssl isn't tried when the openssl package isn't enabled
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 27 May 2009 05:18:43 +0000 (07:18 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 27 May 2009 05:18:43 +0000 (07:18 +0200)
Works around build errors caused by broken Xorg dependencies.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libcurl/libcurl.mk

index fb04da05ddc24937e40bf2e5a65140b7f327a5e8..44c23170d058a5d8096f53d61056ca36516d8295 100644 (file)
@@ -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))