fixup compile on XP.

git-svn-id: file:///svn/unbound/trunk@1725 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2009-07-15 13:47:58 +00:00
parent 91e49260a7
commit b5f2b7d36b
2 changed files with 7 additions and 2 deletions

4
configure vendored
View file

@ -18702,7 +18702,9 @@ if test x_$enable_static_exe = x_yes; then
staticexe="-static"
if test "$on_mingw" = yes; then
staticexe="-all-static"
LIBS="$LIBS -lgdi32 -lz"
if test "`uname`" = "Linux"; then
LIBS="$LIBS -lgdi32 -lz"
fi
fi
fi

View file

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