summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2011-02-23 11:22:56 +0200
committerMichael Widenius <monty@askmonty.org>2011-02-23 11:22:56 +0200
commit1c23091c4ecc23100a6fe42288819cf4d5dc0b5b (patch)
treedb09f3c0fa94cc3151b0b50e57008e361608aa98 /config
parente079f3c84a24e67f2da3ae0b0c338d5b79dc9516 (diff)
downloadmariadb-git-1c23091c4ecc23100a6fe42288819cf4d5dc0b5b.tar.gz
Fixed build failures
- Removed references to deleted files - If we link staticly, check for static zlib - This should fix the problem with 'no -lz found' link error - Fixed build failure on window (Patch from Wlad) - Fixed build problem with federatedx when using -Werror BUILD/Makefile.am: Remove removed file config/ac-macros/zlib.m4: If we compile with --all-static, test that we have a static libz libmysqld/CMakeLists.txt: Fix for build error on windows mysql-test/suite/pbxt/r/key_cache.result: Updated result mysql-test/suite/pbxt/t/key_cache.test: Fixed not updated test case sql/CMakeLists.txt: Fix for build error on windows storage/federatedx/Makefile.am: Don't use CFLAGS to compile C++ programs storage/pbxt/src/lock_xt.cc: Fixed compiler warning about using uninitialized b2 storage/xtradb/buf/buf0buf.c: Fixed wrong printf storage/xtradb/srv/srv0srv.c: Fixed assignment of different width and test with different sign/unsigned
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/zlib.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/config/ac-macros/zlib.m4 b/config/ac-macros/zlib.m4
index f62bb056249..64c1fb6d6b7 100644
--- a/config/ac-macros/zlib.m4
+++ b/config/ac-macros/zlib.m4
@@ -20,6 +20,10 @@ save_CPPFLAGS="$CPPFLAGS"
save_LIBS="$LIBS"
CPPFLAGS="$ZLIB_INCLUDES $CPPFLAGS"
LIBS="$LIBS $ZLIB_LIBS"
+case "$with_mysqld_ldflags " in
+ *"-all-static "*)
+ CPPFLAGS="$CPPFLAGS -static"
+esac
if test X"$with_server" = Xno
then
zlibsym=zlibVersion