pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/buildlink3 Darwin's special GCC uses "-install_name...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fe2c29748e34
branches: trunk
changeset: 462484:fe2c29748e34
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Oct 03 19:40:55 2003 +0000
description:
Darwin's special GCC uses "-install_name /path/shlib" to indicate
the final installed location for the named shared library, and we
need to protect the full path from "/path/shlib" -> "-L/path -lshlib"
transformation.
diffstat:
mk/buildlink3/marshall | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r 239409a203f8 -r fe2c29748e34 mk/buildlink3/marshall
--- a/mk/buildlink3/marshall Fri Oct 03 19:39:19 2003 +0000
+++ b/mk/buildlink3/marshall Fri Oct 03 19:40:55 2003 +0000
@@ -1,13 +1,23 @@
-# $NetBSD: marshall,v 1.2 2003/09/02 07:00:00 jlam Exp $
+# $NetBSD: marshall,v 1.3 2003/10/03 19:40:55 jlam Exp $
+#
+case $arg in
#
# Merge "-Wl,--rpath -Wl,/path/to/dir" into a single argument
# "-Wl,--rpath,/path/to/dir" so that we can look it up in the cache.
#
-case $arg in
-Wl,-rpath|-Wl,-rpath-link|\
-Wl,--rpath|-Wl,--rpath-link)
nextarg=`$echo "X$1" | $Xsed -e "s|^-Wl,||g"`
arg="$arg,$nextarg"
shift
;;
+#
+# Darwin's special GCC uses "-install_name /path/shlib" to indicate
+# the final installed location for the named shared library, and we
+# need to protect the full path from "/path/shlib" -> "-L/path -lshlib"
+# transformation.
+#
+-install_name)
+ skip=1
+ ;;
esac
Home |
Main Index |
Thread Index |
Old Index