diff options
author | mtaylor@qualinost.(none) <> | 2007-01-18 16:28:47 -0800 |
---|---|---|
committer | mtaylor@qualinost.(none) <> | 2007-01-18 16:28:47 -0800 |
commit | 3fdf318ef67fc873576d89ca53b595f4fbbe6b79 (patch) | |
tree | 75f26b7731a967f7b967f5261627babbb7e5bb6b /configure.in | |
parent | 1dc919a0edbfe3750999a63a8157f04a67941901 (diff) | |
download | mariadb-git-3fdf318ef67fc873576d89ca53b595f4fbbe6b79.tar.gz |
Added configure section to deal with actually versioning symbols.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 9402c8d1876..f73f08f85fc 100644 --- a/configure.in +++ b/configure.in @@ -388,6 +388,14 @@ if $LD --version 2>/dev/null|grep -q GNU; then fi AC_SUBST(LD_VERSION_SCRIPT) +# 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" + AC_CONFIG_FILES(storage/ndb/src/libndb.ver) +fi +AC_SUBST(NDB_LD_VERSION_SCRIPT) + + # Avoid bug in fcntl on some versions of linux AC_MSG_CHECKING([if we should use 'skip-external-locking' as default for $target_os]) # Any variation of Linux |