summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-09-23 03:38:58 -0500
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-09-23 13:49:24 +0000
commit3fe280b74970c9b125752060fd031caf0b20f4e9 (patch)
tree3e0db0061e40c7939078a0bfd48ef85af4a23edc /hints
parent6ab0e26eaad9ac45167b946aa56788746af949e9 (diff)
downloadperl-3fe280b74970c9b125752060fd031caf0b20f4e9.tar.gz
Changes for hints/linux.sh for Purify
Message-ID: <20050923133858.GA29475@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@25582
Diffstat (limited to 'hints')
-rw-r--r--hints/linux.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 49aeae8b3e..5c7e535e90 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -315,3 +315,13 @@ ccflags_uselargefiles="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
;;
esac
EOCBU
+
+# Purify fails to link Perl if a "-lc" is passed into its linker
+# due to duplicate symbols.
+case "$PURIFY" in
+$define|true|[yY]*)
+ set `echo X "$libswanted "| sed -e 's/ c / /'`
+ shift
+ libswanted="$*"
+ ;;
+esac