Commit bdac9753 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#9591 - Fix library symbol versioning map file for Solaris

Solaris wants a different option to work with Gnu style library symbol maps
parent b2192fd0
...@@ -3112,13 +3112,18 @@ fi ...@@ -3112,13 +3112,18 @@ fi
OL_VERSIONED_SYMBOLS="" OL_VERSIONED_SYMBOLS=""
if test $ol_enable_versioning != no; then if test $ol_enable_versioning != no; then
LDVS=`$LD --help < /dev/null 2>/dev/null | grep version-script` LDVS=`$LD --help < /dev/null 2>/dev/null | grep gnu-version-script`
if test -z "$LDVS"; then if test -z "$LDVS"; then
if test $ol_enable_versioning = "yes" ; then LDVS=`$LD --help < /dev/null 2>/dev/null | version-script`
AC_MSG_ERROR([Library symbol versioning requested but not supported]) if test -z "$LDVS"; then
if test $ol_enable_versioning = "yes" ; then
AC_MSG_ERROR([Library symbol versioning requested but not supported])
fi
else
OL_VERSIONED_SYMBOLS="-Wl,--version-script="
fi fi
else else
OL_VERSIONED_SYMBOLS="-Wl,--version-script=" OL_VERSIONED_SYMBOLS="-z gnu-version-script="
fi fi
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment