From: Wouter Wijngaards Date: Mon, 29 Sep 2014 08:29:04 +0000 (+0000) Subject: Fix ar for mingw openssl compile. X-Git-Tag: release-1.5.0rc1~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=829a93b01c21530fcc7697ba6168c42c5a543ccd;p=thirdparty%2Funbound.git Fix ar for mingw openssl compile. git-svn-id: file:///svn/unbound/trunk@3231 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/makedist.sh b/makedist.sh index eee035d21..6ece32605 100755 --- a/makedist.sh +++ b/makedist.sh @@ -206,7 +206,7 @@ if [ "$DOWIN" = "yes" ]; then # before 1.0.1i need --cross-compile-prefix=i686-w64-mingw32- sslflags="no-asm -DOPENSSL_NO_CAPIENG mingw" info "winssl: Configure $sslflags" - CC=i686-w64-mingw32-gcc RANLIB=i686-w64-mingw32-ranlib ./Configure --prefix="$sslinstall" $sslflags || error_cleanup "OpenSSL Configure failed" + CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar RANLIB=i686-w64-mingw32-ranlib ./Configure --prefix="$sslinstall" $sslflags || error_cleanup "OpenSSL Configure failed" info "winssl: make" make || error_cleanup "OpenSSL crosscompile failed" # only install sw not docs, which take a long time.