From 3fe280b74970c9b125752060fd031caf0b20f4e9 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Fri, 23 Sep 2005 03:38:58 -0500 Subject: [PATCH] Changes for hints/linux.sh for Purify Message-ID: <20050923133858.GA29475@mccoy.peters.homeunix.org> p4raw-id: //depot/perl@25582 --- hints/linux.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hints/linux.sh b/hints/linux.sh index 49aeae8..5c7e535 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 -- 2.7.4