diff options
author | tnurnberg@sin.intern.azundris.com <> | 2007-08-01 04:56:58 +0200 |
---|---|---|
committer | tnurnberg@sin.intern.azundris.com <> | 2007-08-01 04:56:58 +0200 |
commit | 8dd4751be9acbb7dcfb19a5346f21f6e70ebf53f (patch) | |
tree | 23bd452937d47837b1c579fcd562a7ca6c208617 /configure.in | |
parent | 4a52b5c88547a01f33b2566d4503f6eef7f082bc (diff) | |
download | mariadb-git-8dd4751be9acbb7dcfb19a5346f21f6e70ebf53f.tar.gz |
Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2
mysqld hasn't been built on AIX with ndb-everything in quite a while.
this allowed a variety of changes to be added that broke the AIX build
for both the GNU and IBM compilers (but the IBM suite in particular).
Changeset lets build to complete on AIX 5.2 for users of the GNU and
the IBM suite both. Tudo bem?
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 1da39ac1aa3..a928bab236f 100644 --- a/configure.in +++ b/configure.in @@ -2890,6 +2890,12 @@ then ndb_opt_subdirs="$ndb_opt_subdirs docs" 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 AC_SUBST([ndb_bin_am_ldflags]) AC_SUBST([ndb_opt_subdirs]) |