diff options
author | kb <k.blammo@gmail.com> | 2012-05-18 14:39:44 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-23 01:04:01 +0200 |
commit | 3ec08bff24a26de66ea754085d140b36caac2cbc (patch) | |
tree | 034ae5b0234f4ed6654ac0c2e7b1f7496c43fc52 /configure | |
parent | d3e3404d570373fcb746c89827990aa2a9a4cb17 (diff) |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1024,9 +1024,14 @@ while [ "$#" -gt 0 ]; do VAL=`echo $1 | sed 's,-R,,'` fi ;; - -l?*) + -l?*|-l) 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) VAR="add_fpath" |