Change 11088 by jhi@alpha on 2001/07/02 13:24:27

        Subject: Re: AIX / gcc-3.0
        From: "H.Merijn Brand" <[EMAIL PROTECTED]>
        Date: Mon, 02 Jul 2001 15:20:21 +0200
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

... //depot/perl/hints/aix.sh#64 edit

Differences ...

==== //depot/perl/hints/aix.sh#64 (text) ====
Index: perl/hints/aix.sh
--- perl/hints/aix.sh.~1~       Mon Jul  2 07:30:06 2001
+++ perl/hints/aix.sh   Mon Jul  2 07:30:06 2001
@@ -474,8 +474,11 @@
 
 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
End of Patch.

Reply via email to