summaryrefslogtreecommitdiff
path: root/hints/aix.sh
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2001-07-02 17:20:21 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2001-07-02 13:24:27 +0000
commitfd90a50dd9dd98650b54e33f8b9a3e77bcbf54b8 (patch)
tree21f0c01b309c497e68d47897a228d5393e878a37 /hints/aix.sh
parent17cbf7cc54d67100c675a138ffe531a7e8744de5 (diff)
downloadperl-fd90a50dd9dd98650b54e33f8b9a3e77bcbf54b8.tar.gz
Re: AIX / gcc-3.0
Message-Id: <20010702151904.49BB.H.M.BRAND@hccnet.nl> p4raw-id: //depot/perl@11088
Diffstat (limited to 'hints/aix.sh')
-rw-r--r--hints/aix.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/hints/aix.sh b/hints/aix.sh
index b6373911de..60c9fe0d64 100644
--- a/hints/aix.sh
+++ b/hints/aix.sh
@@ -474,8 +474,11 @@ EOCBU
if test $usenativedlopen = 'true'
then
- ccflags="$ccflags -DUSE_NATIVE_DLOPEN"
- ldflags="$ldflags -brtl"
+ ccflags="$ccflags -DUSE_NATIVE_DLOPEN"
+ case "$cc" in
+ *gcc*) ldflags="$ldflags -Wl,-brtl" ;;
+ *) ldflags="$ldflags -brtl" ;;
+ esac
else
# If the C++ libraries, libC and libC_r, are available we will prefer them
# over the vanilla libc, because the libC contain loadAndInit() and