summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2007-11-20 03:29:05 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-11-20 13:48:14 +0000
commitdc987c66d8e77a1a9feb11504719c06fe7461b37 (patch)
tree475819e5fa2fdf9affee8b337e0481cadb541d44 /hints
parentf666394a093bd03d30919ca4d18ce92778eb4605 (diff)
downloadperl-dc987c66d8e77a1a9feb11504719c06fe7461b37.tar.gz
RC1: In Solaris 10 do not use versioned solibs
Message-ID: <4742E121.2090306@iki.fi> p4raw-id: //depot/perl@32418
Diffstat (limited to 'hints')
-rw-r--r--hints/solaris_2.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh
index 82e3941238..644c96d4c0 100644
--- a/hints/solaris_2.sh
+++ b/hints/solaris_2.sh
@@ -42,6 +42,14 @@ esac
set `echo $glibpth | sed -e 's@/usr/ucblib@@' -e 's@ /lib @ @'`
glibpth="$*"
+# In Solaris 10, we don't want versioned shared libraries because those
+# often indicate a private use only library. Especially badly that would
+# break things with SUNWbdb (Berkeley DB) being installed, which brings in
+# /usr/lib/libdb.so.1, but that is not really meant for public consumption.
+case "`uname -r`" in
+5.10) ignore_versioned_solibs=y ;;
+esac
+
# Remove unwanted libraries. -lucb contains incompatible routines.
# -lld and -lsec don't do anything useful. -lcrypt does not
# really provide anything we need over -lc, so we drop it, too.