]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix static compile on windows missing gdi32.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 29 Jun 2016 11:22:57 +0000 (11:22 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 29 Jun 2016 11:22:57 +0000 (11:22 +0000)
git-svn-id: file:///svn/unbound/trunk@3801 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac
doc/Changelog

index 15c528195bc5a78d5b3748079082bff4f13bfa59..bf997a51fb5b8f2e457f84a1079a2072f281dedf 100755 (executable)
--- a/configure
+++ b/configure
@@ -18356,10 +18356,8 @@ if test x_$enable_static_exe = x_yes; then
        staticexe="-static"
        if test "$on_mingw" = yes; then
                staticexe="-all-static"
-               # for static crosscompile, include gdi32 and zlib here.
-               if test "`uname`" = "Linux"; then
-                       LIBS="$LIBS -lgdi32 -lz"
-               fi
+               # for static compile, include gdi32 and zlib here.
+               LIBS="$LIBS -lgdi32 -lz"
        fi
 fi
 
index 850fd456569a882dbf0e966e0af50f8f77a30b5b..a007e8d349de5b8be717a425b384f60b1609d060 100644 (file)
@@ -1000,10 +1000,8 @@ if test x_$enable_static_exe = x_yes; then
        staticexe="-static"
        if test "$on_mingw" = yes; then
                staticexe="-all-static"
-               # for static crosscompile, include gdi32 and zlib here.
-               if test "`uname`" = "Linux"; then
-                       LIBS="$LIBS -lgdi32 -lz"
-               fi
+               # for static compile, include gdi32 and zlib here.
+               LIBS="$LIBS -lgdi32 -lz"
        fi
 fi
 
index 52039ccd0d304bce00d3065e70063eedaf279124..d322dd637459627b3ab88deb542f387a3ea04b89 100644 (file)
@@ -1,3 +1,6 @@
+29 June 2016: Wouter
+       - Fix static compile on windows missing gdi32.
+
 28 June 2016: Wouter
        - Create a pkg-config file for libunbound in contrib.