From 0fcc88689ddb7a585a1125399ed9183a3e621b95 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Mon, 4 Sep 2017 14:02:15 +0000 Subject: [PATCH] - makedist fix for windows binaries, with openssl 1.1.0 windres fix, and expat 2.2.4 install target fix. git-svn-id: file:///svn/unbound/trunk@4336 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 2 ++ makedist.sh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 1deca2f3b..7b1c47acf 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,7 @@ 4 September 2017: Wouter - tag 1.6.6rc1 + - makedist fix for windows binaries, with openssl 1.1.0 windres fix, + and expat 2.2.4 install target fix. 1 September 2017: Wouter - Recommend 1472 buffer size in unbound.conf diff --git a/makedist.sh b/makedist.sh index 53c5cec74..d38669334 100755 --- a/makedist.sh +++ b/makedist.sh @@ -259,7 +259,7 @@ if [ "$DOWIN" = "yes" ]; then sslflags="no-asm -DOPENSSL_NO_CAPIENG mingw" fi info "winssl: Configure $sslflags" - CC=${warch}-w64-mingw32-gcc AR=${warch}-w64-mingw32-ar RANLIB=${warch}-w64-mingw32-ranlib ./Configure --prefix="$sslinstall" $sslflags || error_cleanup "OpenSSL Configure failed" + CC=${warch}-w64-mingw32-gcc AR=${warch}-w64-mingw32-ar RANLIB=${warch}-w64-mingw32-ranlib WINDRES=${warch}-w64-mingw32-windres ./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. @@ -279,8 +279,8 @@ if [ "$DOWIN" = "yes" ]; then $configure --prefix="$wxpinstall" --exec-prefix="$wxpinstall" --bindir="$wxpinstall/bin" --includedir="$wxpinstall/include" --mandir="$wxpinstall/man" --libdir="$wxpinstall/lib" || error_cleanup "libexpat configure failed" #info "wxp: make" #make || error_cleanup "libexpat crosscompile failed" - info "wxp: make installlib" - make installlib || error_cleanup "libexpat install failed" + info "wxp: make install" + make install || error_cleanup "libexpat install failed" cross_flag="$cross_flag --with-libexpat=$wxpinstall" cd .. fi