V8: Fix linking with MinGW.

Change linker flags to work with MSVC (stub.lib) and MinGW
(stub.a).

Change-Id: I9319972a133e2d3abfe046e87e2b76590608044b
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
This commit is contained in:
Friedemann Kleint 2011-11-21 11:58:18 +01:00 committed by Qt by Nokia
parent 74589cde9a
commit 99b6ebeb59

View File

@ -233,7 +233,7 @@ win32 {
SOURCES += \
$$V8SRC/platform-win32.cc \
$$V8SRC/win32-math.cc
LIBS += Ws2_32.lib Winmm.lib
LIBS += -lWs2_32 -lWinmm
win32-msvc*: QMAKE_CXXFLAGS += -wd4100 -wd 4291 -wd4351 -wd4355 -wd4800
win32-msvc*:arch_i386: DEFINES += _USE_32BIT_TIME_T
}