summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-08-31 08:56:39 +0000
committerjlam <jlam@pkgsrc.org>2003-08-31 08:56:39 +0000
commit5ed77489aa08060764edd0be3cb681b512d40608 (patch)
treed9e0e6fc0989ac7d9669067328b9ff63841a29ca /mk
parentc5621e9ba4570c25e6594a680e731ec5e61e77b4 (diff)
downloadpkgsrc-5ed77489aa08060764edd0be3cb681b512d40608.tar.gz
Don't allow -R* options in dependency_libs -- rpath info shouldn't be in
there.
Diffstat (limited to 'mk')
-rw-r--r--mk/buildlink2/libtool-fix-la6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/buildlink2/libtool-fix-la b/mk/buildlink2/libtool-fix-la
index 7096aaa21b8..dcba4bd70d0 100644
--- a/mk/buildlink2/libtool-fix-la
+++ b/mk/buildlink2/libtool-fix-la
@@ -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 @@ if $test -f $lafile; then
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}/*)