From: Mark Brand Date: Fri, 8 Jul 2011 16:52:36 +0000 (+0200) Subject: sync win32-g++-cross with win32-g++ (lib prefix and extension) X-Git-Tag: qt-v5.0.0-alpha1~3647 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6eae3d3c9f43910b479a57a7ce20bcd221ba1677;p=profile%2Fivi%2Fqtbase.git sync win32-g++-cross with win32-g++ (lib prefix and extension) qmake now needs library prefix and extension to be supplied. This was added to plain win32-g++ in dbbf06e. Now added to win32-g++-cross. Without this, static libraries get named 'X.lib' instead of 'libX.a'. Merge-request: 1283 Reviewed-by: Oswald Buddenhagen (cherry picked from commit 8ce9dc02cd5031f26c7fec10484a8c47904c46f5) Change-Id: Ic12f655bcfc8a422a98819904ec796d896de77f5 Reviewed-on: http://codereview.qt-project.org/4575 Reviewed-by: Qt Sanity Bot Reviewed-by: Oswald Buddenhagen --- diff --git a/mkspecs/unsupported/win32-g++-cross/qmake.conf b/mkspecs/unsupported/win32-g++-cross/qmake.conf index 01e2f10..0538e86 100644 --- a/mkspecs/unsupported/win32-g++-cross/qmake.conf +++ b/mkspecs/unsupported/win32-g++-cross/qmake.conf @@ -62,6 +62,8 @@ QMAKE_LFLAGS_WINDOWS = -Wl,-subsystem,windows QMAKE_LFLAGS_DLL = -shared QMAKE_LINK_OBJECT_MAX = 10 QMAKE_LINK_OBJECT_SCRIPT= object_script +QMAKE_PREFIX_STATICLIB = lib +QMAKE_EXTENSION_STATICLIB = a QMAKE_LIBS =