Moving version-script to acinclude.m4
This commit is contained in:
parent
a53b50d021
commit
72a6096eb4
@ -1817,6 +1817,14 @@ AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [
|
|||||||
ndbcluster_system_libs=""
|
ndbcluster_system_libs=""
|
||||||
ndb_mgmclient_libs="\$(top_builddir)/ndb/src/mgmclient/libndbmgmclient.la"
|
ndb_mgmclient_libs="\$(top_builddir)/ndb/src/mgmclient/libndbmgmclient.la"
|
||||||
MYSQL_CHECK_NDB_OPTIONS
|
MYSQL_CHECK_NDB_OPTIONS
|
||||||
|
|
||||||
|
# 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_MSG_RESULT([Not using NDB Cluster])
|
AC_MSG_RESULT([Not using NDB Cluster])
|
||||||
|
@ -449,13 +449,6 @@ if $LD --version 2>/dev/null|grep -q GNU; then
|
|||||||
fi
|
fi
|
||||||
AC_SUBST(LD_VERSION_SCRIPT)
|
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)/ndb/src/libndb.ver"
|
|
||||||
AC_CONFIG_FILES(ndb/src/libndb.ver)
|
|
||||||
fi
|
|
||||||
AC_SUBST(NDB_LD_VERSION_SCRIPT)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Avoid bug in fcntl on some versions of linux
|
# Avoid bug in fcntl on some versions of linux
|
||||||
|
Loading…
x
Reference in New Issue
Block a user