- Fix static compile on windows missing gdi32.

git-svn-id: file:///svn/unbound/trunk@3801 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2016-06-29 11:22:57 +00:00
parent ed4aefc59e
commit b9282f12b1
3 changed files with 7 additions and 8 deletions

6
configure vendored
View file

@ -18356,10 +18356,8 @@ if test x_$enable_static_exe = x_yes; then
staticexe="-static" staticexe="-static"
if test "$on_mingw" = yes; then if test "$on_mingw" = yes; then
staticexe="-all-static" staticexe="-all-static"
# for static crosscompile, include gdi32 and zlib here. # for static compile, include gdi32 and zlib here.
if test "`uname`" = "Linux"; then LIBS="$LIBS -lgdi32 -lz"
LIBS="$LIBS -lgdi32 -lz"
fi
fi fi
fi fi

View file

@ -1000,10 +1000,8 @@ if test x_$enable_static_exe = x_yes; then
staticexe="-static" staticexe="-static"
if test "$on_mingw" = yes; then if test "$on_mingw" = yes; then
staticexe="-all-static" staticexe="-all-static"
# for static crosscompile, include gdi32 and zlib here. # for static compile, include gdi32 and zlib here.
if test "`uname`" = "Linux"; then LIBS="$LIBS -lgdi32 -lz"
LIBS="$LIBS -lgdi32 -lz"
fi
fi fi
fi fi

View file

@ -1,3 +1,6 @@
29 June 2016: Wouter
- Fix static compile on windows missing gdi32.
28 June 2016: Wouter 28 June 2016: Wouter
- Create a pkg-config file for libunbound in contrib. - Create a pkg-config file for libunbound in contrib.