diff options
author | jlam <jlam@pkgsrc.org> | 2005-06-09 17:06:21 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-06-09 17:06:21 +0000 |
commit | fe40930572f64aa538a8fcee3a48dc27212e0b85 (patch) | |
tree | 118f2b87ff0c96651c6a4580313638c79306b863 /mk/wrapper/arg-source | |
parent | 2c739424785ed032b8082841e7e6ef82b8f23c69 (diff) | |
download | pkgsrc-fe40930572f64aa538a8fcee3a48dc27212e0b85.tar.gz |
Forgot the strip the comma when removing "-Wl," from the the next
argument during argument merging.
Diffstat (limited to 'mk/wrapper/arg-source')
-rw-r--r-- | mk/wrapper/arg-source | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/wrapper/arg-source b/mk/wrapper/arg-source index 69cdb3e3506..df969922404 100644 --- a/mk/wrapper/arg-source +++ b/mk/wrapper/arg-source @@ -1,4 +1,4 @@ -# $NetBSD: arg-source,v 1.6 2005/06/08 05:54:17 jlam Exp $ +# $NetBSD: arg-source,v 1.7 2005/06/09 17:06:21 jlam Exp $ # # Copyright (c) 2004 The NetBSD Foundation, Inc. # All rights reserved. @@ -93,7 +93,7 @@ while $test $# -gt 0; do -Wl,-rpath-link) R="-Wl,-rpath-link," ;; -Wl,--rpath) R="-Wl,--rpath," ;; esac - nextarg="${nextarg#-Wl}" + nextarg="${nextarg#-Wl,}" case $nextarg in *:*) save_IFS="${IFS}"; IFS=":" |