diff options
author | Shane Kearns <shane.kearns@sosco.com> | 2009-09-15 12:53:43 (GMT) |
---|---|---|
committer | Shane Kearns <shane.kearns@sosco.com> | 2009-09-15 14:05:54 (GMT) |
commit | ff3ce998bea1ef49c2e9548fb54e37292a121ec8 (patch) | |
tree | b5767cbc44e09fa2737c54c4dd59df15c55d52e4 /tools | |
parent | 56cec4cf9a8b04c979ced28cab89ce6232d4184a (diff) | |
download | Qt-ff3ce998bea1ef49c2e9548fb54e37292a121ec8.zip Qt-ff3ce998bea1ef49c2e9548fb54e37292a121ec8.tar.gz Qt-ff3ce998bea1ef49c2e9548fb54e37292a121ec8.tar.bz2 |
Change compile options for configure so it can be built using msvc2008
Use the -MT command line option so it links statically with libc.
The reason for this is that not all windows versions have the DLL
"out of the box".
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'tools')
-rw-r--r-- | tools/configure/configure.pro | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/configure/configure.pro b/tools/configure/configure.pro index 06e9fe0..243183c 100644 --- a/tools/configure/configure.pro +++ b/tools/configure/configure.pro @@ -12,9 +12,13 @@ win32-g++ : LIBS += -luuid win32-msvc* { QMAKE_CFLAGS_RELEASE -= -MD + QMAKE_CFLAGS_RELEASE += -MT QMAKE_CFLAGS_DEBUG -= -MDd + QMAKE_CFLAGS_DEBUG += -MTd QMAKE_CXXFLAGS_RELEASE -= -MD + QMAKE_CXXFLAGS_RELEASE += -MT QMAKE_CXXFLAGS_DEBUG -= -MDd + QMAKE_CXXFLAGS_DEBUG += -MTd } PRECOMPILED_HEADER = configure_pch.h |