2011-11-16 11:14:40 +00:00
committed by Git OBS Bridge
parent 0303a627b7
commit 6b701ee6d7
3 changed files with 49 additions and 27 deletions

View File

@@ -3,19 +3,19 @@
while test "${1::2}" = "--" ; do
case "$1" in
--cflags=*)
cflags="${1#*=}"
cflags="${cflags:+$cflags }${1#*=}"
shift
;;
--cflags)
cflags="$2"
cflags="${cflags:+$cflags }$2"
shift 2
;;
--libs=*)
libs="${1#*=}"
libs="${libs:+$libs }${1#*=}"
shift
;;
--libs)
libs="$2"
libs="${libs:+$libs }$2"
shift 2
;;
esac