summaryrefslogtreecommitdiff
path: root/mk/buildlink2
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-31 08:56:39 +0000
committerjlam <jlam>2003-08-31 08:56:39 +0000
commitfff89cc825ae06329dc995115fa61aa998eab683 (patch)
treed9e0e6fc0989ac7d9669067328b9ff63841a29ca /mk/buildlink2
parentf45f0f10b409cf0a8a5bca48d6bcd742d287097a (diff)
downloadpkgsrc-fff89cc825ae06329dc995115fa61aa998eab683.tar.gz
Don't allow -R* options in dependency_libs -- rpath info shouldn't be in
there.
Diffstat (limited to 'mk/buildlink2')
-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}/*)