pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/wrapper When linking with XLC on AIX, force -brtl t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b054fb9d0e79
branches: trunk
changeset: 533878:b054fb9d0e79
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Oct 05 18:19:45 2007 +0000
description:
When linking with XLC on AIX, force -brtl to get linkage behaviour we
expect from other platforms.
diffstat:
mk/wrapper/cmd-sink-aix-xlc | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 50b01f950043 -r b054fb9d0e79 mk/wrapper/cmd-sink-aix-xlc
--- a/mk/wrapper/cmd-sink-aix-xlc Fri Oct 05 16:31:33 2007 +0000
+++ b/mk/wrapper/cmd-sink-aix-xlc Fri Oct 05 18:19:45 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cmd-sink-aix-xlc,v 1.3 2005/07/23 04:48:12 grant Exp $
+# $NetBSD: cmd-sink-aix-xlc,v 1.4 2007/10/05 18:19:45 joerg Exp $
#
# Copyright (c) 2004 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -72,3 +72,10 @@
$debug_log $wrapperlog " (cmd-sink-aix-xlc) pop: $arg"
. $buildcmd
fi
+# Force dynamic linkage on AIX to get preference of dynamic libraries
+# over library archives.
+if $test "$dont_link" != "yes"; then
+ arg="-brtl"
+ $debug_log $wrapperlog " (cmd-sink-aix-xlc) pop: $arg"
+ . $buildcmd
+fi
Home |
Main Index |
Thread Index |
Old Index