diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-31 08:56:39 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-31 08:56:39 +0000 |
commit | 5ed77489aa08060764edd0be3cb681b512d40608 (patch) | |
tree | d9e0e6fc0989ac7d9669067328b9ff63841a29ca /mk | |
parent | c5621e9ba4570c25e6594a680e731ec5e61e77b4 (diff) | |
download | pkgsrc-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-la | 6 |
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}/*) |