diff options
author | Steve Peters <steve@fisharerojo.org> | 2005-09-23 03:38:58 -0500 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2005-09-23 13:49:24 +0000 |
commit | 3fe280b74970c9b125752060fd031caf0b20f4e9 (patch) | |
tree | 3e0db0061e40c7939078a0bfd48ef85af4a23edc /hints | |
parent | 6ab0e26eaad9ac45167b946aa56788746af949e9 (diff) | |
download | perl-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.sh | 10 |
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 |