diff options
author | mtaylor@qualinost.(none) <> | 2007-01-19 17:02:46 -0800 |
---|---|---|
committer | mtaylor@qualinost.(none) <> | 2007-01-19 17:02:46 -0800 |
commit | 8778f60112bfc949cd224035ec9421a0ce17f468 (patch) | |
tree | 87ab419a23f3eff113dba1c5f0f07a5d07ca9d6c /config | |
parent | 9e24d548b6103ab8b7d4ff56e887460815731ddd (diff) | |
download | mariadb-git-8778f60112bfc949cd224035ec9421a0ce17f468.tar.gz |
We only want to do these things if we are building Ndb.
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/ha_ndbcluster.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/ac-macros/ha_ndbcluster.m4 b/config/ac-macros/ha_ndbcluster.m4 index 86bd16487eb..5d0bc6898e8 100644 --- a/config/ac-macros/ha_ndbcluster.m4 +++ b/config/ac-macros/ha_ndbcluster.m4 @@ -278,6 +278,17 @@ AC_DEFUN([MYSQL_SETUP_NDBCLUSTER], [ ndb_bin_am_ldflags="" fi + # 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)/ndb/src/libndb.ver" + AC_CONFIG_FILES(ndb/src/libndb.ver) + fi + AC_SUBST(NDB_LD_VERSION_SCRIPT) + + AC_SUBST(NDB_SHARED_LIB_MAJOR_VERSION) + AC_SUBST(NDB_SHARED_LIB_VERSION) + + AC_SUBST(NDB_VERSION_MAJOR) AC_SUBST(NDB_VERSION_MINOR) AC_SUBST(NDB_VERSION_BUILD) |