pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/buildlink2 Don't allow -R* options in dependency_li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ee017265112
branches:  trunk
changeset: 460513:4ee017265112
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sun Aug 31 08:56:39 2003 +0000

description:
Don't allow -R* options in dependency_libs -- rpath info shouldn't be in
there.

diffstat:

 mk/buildlink2/libtool-fix-la |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 604294797e6b -r 4ee017265112 mk/buildlink2/libtool-fix-la
--- a/mk/buildlink2/libtool-fix-la      Sun Aug 31 06:07:33 2003 +0000
+++ b/mk/buildlink2/libtool-fix-la      Sun Aug 31 08:56:39 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: libtool-fix-la,v 1.20 2003/08/31 06:07:33 jlam Exp $
+# $NetBSD: libtool-fix-la,v 1.21 2003/08/31 08:56:39 jlam Exp $
 #
 # For *.la files, in the "relink_command" line, we make the following
 # replacements:
@@ -144,6 +144,10 @@
                        case "$i" in
                        $prev)
                                ;;
+                       -R*)
+                               # skip all -R* options... rpath info shouldn't
+                               # go into the dependency_libs line.
+                               ;;
                        -L*)
                                case "$i" in
                                -L${BUILDLINK_DIR}|-L${BUILDLINK_DIR}/*)



Home | Main Index | Thread Index | Old Index