From f331299f351a4b2d815b1e42812ce06a3418b26e Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Sat, 11 Aug 2012 21:55:20 +0200 Subject: Merge L_FLAGS and l_FLAGS in configure This is prompted by the fact that QMAKE_LIBDIR_FLAGS is no longer honoured by qmake, so we need to use LIBS. It didn't make much sense to have the flags separate anyway... Change-Id: Iaec4d58f9dbac25755bbc3bad7550e03edb5332b Reviewed-by: Thiago Macieira Reviewed-by: Oswald Buddenhagen --- configure | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'configure') diff --git a/configure b/configure index f92cb3f54b..8f02fdf2ea 100755 --- a/configure +++ b/configure @@ -797,7 +797,6 @@ D_FLAGS= I_FLAGS= L_FLAGS= RPATH_FLAGS= -l_FLAGS= W_FLAGS= QCONFIG_FLAGS= XPLATFORM= # This seems to be the QMAKESPEC, like "linux-g++" @@ -1949,7 +1948,7 @@ while [ "$#" -gt 0 ]; do RPATH_FLAGS="$RPATH_FLAGS \"${VAL}\"" ;; add_link) - l_FLAGS="$l_FLAGS -l\"${VAL}\"" + L_FLAGS="$L_FLAGS -l\"${VAL}\"" ;; add_fpath) if [ "$BUILD_ON_MAC" = "yes" ]; then @@ -1961,7 +1960,7 @@ while [ "$#" -gt 0 ]; do ;; add_framework) if [ "$BUILD_ON_MAC" = "yes" ]; then - l_FLAGS="$l_FLAGS -framework \"${VAL}\"" + L_FLAGS="$L_FLAGS -framework \"${VAL}\"" else UNKNOWN_OPT=yes fi @@ -3741,7 +3740,7 @@ compileTest() path=config.tests/$1 name=$2 shift 2 - "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" "$path" "$name" $I_FLAGS $D_FLAGS $L_FLAGS $l_FLAGS $MAC_CONFIG_TEST_COMMANDLINE "$@" + "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" "$path" "$name" $I_FLAGS $D_FLAGS $L_FLAGS $MAC_CONFIG_TEST_COMMANDLINE "$@" } #------------------------------------------------------------------------------- @@ -5362,8 +5361,7 @@ fi [ "$CFG_XINPUT2" = "yes" ] && QT_CONFIG="$QT_CONFIG xinput2" [ '!' -z "$DEFINES" ] && QMakeVar add DEFINES "$DEFINES" -[ '!' -z "$L_FLAGS" ] && QMakeVar add QMAKE_LIBDIR_FLAGS "$L_FLAGS" -[ '!' -z "$l_FLAGS" ] && QMakeVar add LIBS "$l_FLAGS" +[ '!' -z "$L_FLAGS" ] && QMakeVar add LIBS "$L_FLAGS" if [ "$PLATFORM_MAC" = "yes" ] && [ "$QT_CROSS_COMPILE" = "no" ]; then if [ "$CFG_RPATH" = "yes" ]; then -- cgit v1.2.3