Fix -largefile option in configure

-largefile is regarded as a library named argefile and added to
Makefile as a link flag. It will cause a link error.

Change-Id: I8ac30896d4e473f7e98c937c8906b1b9c620cf1e
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
This commit is contained in:
Lucas Wang 2012-09-28 00:02:04 +08:00 committed by The Qt Project
parent 793ed1bf88
commit d7ab351cdd
1 changed files with 4 additions and 0 deletions

4
configure vendored
View File

@ -1108,6 +1108,10 @@ while [ "$#" -gt 0 ]; do
VAL=`echo $1 | sed 's,-R,,'`
fi
;;
-largefile)
VAR="largefile"
VAL="yes"
;;
-l?*|-l)
VAR="add_link"
if [ "$1" = "-l" ]; then