summaryrefslogtreecommitdiffstats
path: root/qmake/Makefile.win32-g++
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-05-18 08:02:32 (GMT)
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2010-05-18 08:02:32 (GMT)
commita61d857587b4adbabbeec179117767de99d36be3 (patch)
tree61396fa8bda063b19812bc5cb2e4e13ffcd1dd73 /qmake/Makefile.win32-g++
parent672c0d15ad07aaffeb7354e9fd8a822ee0d36ac2 (diff)
downloadQt-a61d857587b4adbabbeec179117767de99d36be3.zip
Qt-a61d857587b4adbabbeec179117767de99d36be3.tar.gz
Qt-a61d857587b4adbabbeec179117767de99d36be3.tar.bz2
qmake/MinGw: Link statically.
Reviewed-by: Thierry Bastian <thierry.bastian@nokia.com>
Diffstat (limited to 'qmake/Makefile.win32-g++')
-rw-r--r--qmake/Makefile.win32-g++3
1 files changed, 2 insertions, 1 deletions
diff --git a/qmake/Makefile.win32-g++ b/qmake/Makefile.win32-g++
index 477203d..e52b8c6 100644
--- a/qmake/Makefile.win32-g++
+++ b/qmake/Makefile.win32-g++
@@ -27,7 +27,7 @@ CFLAGS = -c -o$@ -O \
-DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM \
-DQT_BOOTSTRAPPED
CXXFLAGS = $(CFLAGS)
-LFLAGS = -static-libgcc -s
+LFLAGS = -static-libgcc -static-libstdc++ -s
LIBS = -lole32 -luuid
LINKQMAKE = g++ $(LFLAGS) -o qmake.exe $(OBJS) $(QTOBJS) $(LIBS)
ADDCLEAN =
@@ -326,3 +326,4 @@ qxmlstream.o: $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp
qxmlutils.o: $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp
$(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp
+