mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#9591 - Fix library symbol versioning map file for Solaris
Solaris wants a different option to work with Gnu style library symbol maps
This commit is contained in:
parent
f6dcc600a3
commit
f76d40a963
1 changed files with 9 additions and 4 deletions
|
|
@ -3131,7 +3131,9 @@ fi
|
|||
|
||||
OL_VERSIONED_SYMBOLS=""
|
||||
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
|
||||
LDVS=`$LD --help < /dev/null 2>/dev/null | version-script`
|
||||
if test -z "$LDVS"; then
|
||||
if test $ol_enable_versioning = "yes" ; then
|
||||
AC_MSG_ERROR([Library symbol versioning requested but not supported])
|
||||
|
|
@ -3139,6 +3141,9 @@ if test $ol_enable_versioning != no; then
|
|||
else
|
||||
OL_VERSIONED_SYMBOLS="-Wl,--version-script="
|
||||
fi
|
||||
else
|
||||
OL_VERSIONED_SYMBOLS="-z gnu-version-script="
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl ----------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue