瀏覽代碼

fix building under platforms where the vendor provides an ENGINE-enabled OpenSSL (like RedHat)

Ralf S. Engelschall 24 年之前
父節點
當前提交
0bcf24601a
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      curl/curl.spec

+ 3 - 1
curl/curl.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [BASE]
 Group:        Web
 License:      GPL
 Version:      7.9.8
-Release:      20020614
+Release:      20020816
 
 #   list of sources
 Source0:      http://curl.haxx.se/download/curl-%{version}.tar.bz2
@@ -57,11 +57,13 @@ AutoReqProv:  no
     %setup -q
 
 %build
+    echo 'ac_cv_header_openssl_engine_h=no' >config.cache
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O} -I%{l_prefix}/include" \
     CPPFLAGS="-I%{l_prefix}/include" \
     LDFLAGS="-L%{l_prefix}/lib" \
     ./configure \
+        --cache-file=config.cache \
         --prefix=$RPM_BUILD_ROOT%{l_prefix} \
         --with-ssl=%{l_prefix} \
         --disable-shared