From c7da86f9a76b189aed33814e07d22df04642438d Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 14 Nov 2012 23:45:13 +0000 Subject: Request linker to statically link libz.a, since the default now appears to be dynamic linking, and that stops the tests from working since they can't find zlib-1.dll in the PATH. Remove redundant LIBS that should already be detected and used by the m4 configury. --- infrastructure/mingw/configure.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'infrastructure/mingw/configure.sh') diff --git a/infrastructure/mingw/configure.sh b/infrastructure/mingw/configure.sh index 60981946..46a61637 100755 --- a/infrastructure/mingw/configure.sh +++ b/infrastructure/mingw/configure.sh @@ -34,8 +34,7 @@ if ! ./configure "$@" --target=i686-pc-mingw32 \ CFLAGS="-mno-cygwin -mthreads" \ CPPFLAGS="-mno-cygwin" \ CXXFLAGS="-mno-cygwin -mthreads" \ - LDFLAGS="-mno-cygwin -mthreads -L${DEP_PATH}/lib -L${LIBZ_PATH}" \ - LIBS="-lcrypto -lws2_32 -lgdi32" + LDFLAGS="-Wl,-Bstatic -mno-cygwin -mthreads -L${DEP_PATH}/lib -L${LIBZ_PATH}" then echo "Error: configure failed, aborting." >&2 exit 1 -- cgit v1.2.3