Allow a space between "-l" and library name when configuring
Qt's configure allows for spaces between an option and its argument. This patch brings -l in line with -L et al. Change-Id: Iea5c78dc06f69c21b7419fd9fa73c52ae1cea18f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
parent
d3e3404d57
commit
3ec08bff24
9
configure
vendored
9
configure
vendored
@ -1024,9 +1024,14 @@ while [ "$#" -gt 0 ]; do
|
|||||||
VAL=`echo $1 | sed 's,-R,,'`
|
VAL=`echo $1 | sed 's,-R,,'`
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
-l?*)
|
-l?*|-l)
|
||||||
VAR="add_link"
|
VAR="add_link"
|
||||||
VAL=`echo $1 | sed 's,-l,,'`
|
if [ "$1" = "-l" ]; then
|
||||||
|
shift
|
||||||
|
VAL="$1"
|
||||||
|
else
|
||||||
|
VAL=`echo $1 | sed 's,-l,,'`
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
-F?*|-F)
|
-F?*|-F)
|
||||||
VAR="add_fpath"
|
VAR="add_fpath"
|
||||||
|
Loading…
Reference in New Issue
Block a user