diff options
author | Robin Barker <RMBarker@cpan.org> | 2005-01-05 12:04:25 +0000 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-01-05 11:44:11 +0000 |
commit | 98bcce56a742eca3224554590f22319067820c5a (patch) | |
tree | 6d4d5221a1923b72f0e208195228736ebd2b1def /hints/solaris_2.sh | |
parent | 142c4186a0973c440f5caa0dda3e33e9e6ae7c11 (diff) | |
download | perl-98bcce56a742eca3224554590f22319067820c5a.tar.gz |
gcc and ld in Configure
Message-ID: <533D273D4014D411AB1D00062938C4D90849C55D@hotel.npl.co.uk>
p4raw-id: //depot/perl@23750
Diffstat (limited to 'hints/solaris_2.sh')
-rw-r--r-- | hints/solaris_2.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/solaris_2.sh b/hints/solaris_2.sh index ce36480b18..22cc95ea7c 100644 --- a/hints/solaris_2.sh +++ b/hints/solaris_2.sh @@ -257,9 +257,9 @@ END # (This may all depend on local configurations too.) # Recompute verbose with -Wl,-v to find GNU ld if present - verbose=`${cc:-cc} -v -Wl,-v -o try try.c 2>&1 | grep ld 2>&1` + verbose=`${cc:-cc} -Wl,-v -o try try.c 2>&1 | grep /ld 2>&1` - myld=`echo $verbose| grep ld | awk '/\/ld/ {print $1}'` + myld=`echo $verbose | awk '/\/ld/ {print $1}'` # This assumes that gcc's output will not change, and that # /full/path/to/ld will be the first word of the output. # Thus myld is something like /opt/gnu/sparc-sun-solaris2.5/bin/ld |