ソースを参照

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>
Peter Korsgaard 16 年 前
コミット
3169b04725
1 ファイル変更2 行追加0 行削除
  1. 2 0
      package/libcurl/libcurl.mk

+ 2 - 0
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))