841b57441b
cd pkgsrc/mk cvs update -Pd -A cvs update -Pd -j pkgviews-mk-base -j pkgviews-mk
13 lines
348 B
Text
13 lines
348 B
Text
# $NetBSD: marshall,v 1.2 2003/09/02 07:00:00 jlam Exp $
|
|
#
|
|
# Merge "-Wl,--rpath -Wl,/path/to/dir" into a single argument
|
|
# "-Wl,--rpath,/path/to/dir" so that we can look it up in the cache.
|
|
#
|
|
case $arg in
|
|
-Wl,-rpath|-Wl,-rpath-link|\
|
|
-Wl,--rpath|-Wl,--rpath-link)
|
|
nextarg=`$echo "X$1" | $Xsed -e "s|^-Wl,||g"`
|
|
arg="$arg,$nextarg"
|
|
shift
|
|
;;
|
|
esac
|