[Box Backup-commit] COMMIT r3146 - box/trunk/infrastructure/mingw

subversion at boxbackup.org subversion at boxbackup.org
Wed Nov 14 23:45:13 GMT 2012


Author: chris
Date: 2012-11-14 23:45:13 +0000 (Wed, 14 Nov 2012)
New Revision: 3146

Modified:
   box/trunk/infrastructure/mingw/configure.sh
Log:
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.


Modified: box/trunk/infrastructure/mingw/configure.sh
===================================================================
--- box/trunk/infrastructure/mingw/configure.sh	2012-11-08 22:05:12 UTC (rev 3145)
+++ box/trunk/infrastructure/mingw/configure.sh	2012-11-14 23:45:13 UTC (rev 3146)
@@ -34,8 +34,7 @@
 	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




More information about the Boxbackup-commit mailing list