Use -shared instead -G when using gcc to create shared libs on solaris.

Thanks to Herbie <herbie.ong@sun.com> for the patch.
Bug #35419 r=cls
This commit is contained in:
cls%seawood.org 2004-02-25 03:34:14 +00:00
parent f126bdfb30
commit 5a24294673
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@ -5765,7 +5765,7 @@ rm -f conftest*
echo "$ac_t""$_res" 1>&6
else
ASFLAGS="$ASFLAGS -fPIC"
DSO_LDOPTS='-G -h $@'
DSO_LDOPTS='-shared -h $@'
_WARNINGS_CFLAGS=''
_WARNINGS_CXXFLAGS=''
if test "$OS_RELEASE" = "5.3"; then

View File

@ -1524,7 +1524,7 @@ dnl the qsort routine under solaris is faulty
AC_MSG_RESULT([$_res])
else
ASFLAGS="$ASFLAGS -fPIC"
DSO_LDOPTS='-G -h $@'
DSO_LDOPTS='-shared -h $@'
_WARNINGS_CFLAGS=''
_WARNINGS_CXXFLAGS=''
if test "$OS_RELEASE" = "5.3"; then