diff options
author | Anton Berezin <tobez@tobez.org> | 2007-03-08 13:08:45 +0100 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-03-08 11:17:21 +0000 |
commit | 2440f57eb96c4329967f5d7bc390ffabf1449b9c (patch) | |
tree | f1d54eef51e628d6933e8fa75bc3a94d0a03b65d /hints | |
parent | 912e62e3c624075aa313679194a8fb6d2856c610 (diff) | |
download | perl-2440f57eb96c4329967f5d7bc390ffabf1449b9c.tar.gz |
Default to ELF on FreeBSD when objformat is not there
Message-ID: <20070308110845.GA24332@heechee.tobez.org>
p4raw-id: //depot/perl@30512
Diffstat (limited to 'hints')
-rw-r--r-- | hints/freebsd.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hints/freebsd.sh b/hints/freebsd.sh index a5062381e8..8bfb742f11 100644 --- a/hints/freebsd.sh +++ b/hints/freebsd.sh @@ -116,17 +116,17 @@ case "$osvers" in *) objformat=`/usr/bin/objformat` - if [ x$objformat = xelf ]; then - libpth="/usr/lib /usr/local/lib" - glibpth="/usr/lib /usr/local/lib" - ldflags="-Wl,-E " - lddlflags="-shared " - else + if [ x$objformat = xaout ]; then if [ -e /usr/lib/aout ]; then libpth="/usr/lib/aout /usr/local/lib /usr/lib" glibpth="/usr/lib/aout /usr/local/lib /usr/lib" fi lddlflags='-Bshareable' + else + libpth="/usr/lib /usr/local/lib" + glibpth="/usr/lib /usr/local/lib" + ldflags="-Wl,-E " + lddlflags="-shared " fi cccdlflags='-DPIC -fPIC' ;; |