From 5a242946738c42a2075dc05829eb5e0d6b403e48 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Wed, 25 Feb 2004 03:34:14 +0000 Subject: [PATCH] Use -shared instead -G when using gcc to create shared libs on solaris. Thanks to Herbie for the patch. Bug #35419 r=cls --- configure | 2 +- configure.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 0e4445880b5f..df2ebbab0760 100755 --- a/configure +++ b/configure @@ -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 diff --git a/configure.in b/configure.in index d91bf264111e..88221cfc7a22 100644 --- a/configure.in +++ b/configure.in @@ -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