summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authortnurnberg@sin.intern.azundris.com <>2007-08-01 09:24:01 +0200
committertnurnberg@sin.intern.azundris.com <>2007-08-01 09:24:01 +0200
commitbab988ad9c736264f7dddea209034684eb307754 (patch)
treeaa27cc4add682fbfbe4f5b1a7cdea11115420dd1 /config
parentd02dd251984aa82ac0b039e5289eda30258b7ee7 (diff)
downloadmariadb-git-bab988ad9c736264f7dddea209034684eb307754.tar.gz
Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2
5.1 specific fixes so cluster will build on AIX (with IBM compiler)
Diffstat (limited to 'config')
-rw-r--r--config/ac-macros/ha_ndbcluster.m47
1 files changed, 7 insertions, 0 deletions
diff --git a/config/ac-macros/ha_ndbcluster.m4 b/config/ac-macros/ha_ndbcluster.m4
index c6327c46f15..60ca92abc10 100644
--- a/config/ac-macros/ha_ndbcluster.m4
+++ b/config/ac-macros/ha_ndbcluster.m4
@@ -277,6 +277,13 @@ AC_DEFUN([MYSQL_SETUP_NDBCLUSTER], [
ndb_bin_am_ldflags=""
fi
+ # building dynamic breaks on AIX. (If you want to try it and get unresolved
+ # __vec__delete2 and some such, try linking against libhC.)
+ case "$host_os" in
+ aix3.* | aix4.0.* | aix4.1.*) ;;
+ *) ndb_bin_am_ldflags="-static";;
+ esac
+
# libndbclient versioning when linked with GNU ld.
if $LD --version 2>/dev/null|grep -q GNU; then
NDB_LD_VERSION_SCRIPT="-Wl,--version-script=\$(top_builddir)/storage/ndb/src/libndb.ver"