Commit 23bd0ead authored by unknown's avatar unknown
Browse files

Moving version-script to acinclude.m4

parent 4f3528be
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1817,6 +1817,14 @@ AC_DEFUN([MYSQL_CHECK_NDBCLUSTER], [
      ndbcluster_system_libs=""
      ndb_mgmclient_libs="\$(top_builddir)/ndb/src/mgmclient/libndbmgmclient.la"
      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])
+0 −7
Original line number Diff line number Diff line
@@ -449,13 +449,6 @@ 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)/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