summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2005-06-09 17:06:21 +0000
committerjlam <jlam>2005-06-09 17:06:21 +0000
commitefcb1a671e76312178fdb0a7e5e4219620d0dffa (patch)
tree118f2b87ff0c96651c6a4580313638c79306b863 /mk
parent190db46f94e7162362a87b5596587563ed1b9c10 (diff)
downloadpkgsrc-efcb1a671e76312178fdb0a7e5e4219620d0dffa.tar.gz
Forgot the strip the comma when removing "-Wl," from the the next
argument during argument merging.
Diffstat (limited to 'mk')
-rw-r--r--mk/wrapper/arg-source4
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=":"