V8: Fix cross builds with win32-g++-cross mkspec
authorYuchen Deng <loaden@gmail.com>
Fri, 18 May 2012 14:12:19 +0000 (22:12 +0800)
committerQt by Nokia <qt-info@nokia.com>
Tue, 22 May 2012 10:02:35 +0000 (12:02 +0200)
MinGW installations on case-sensitive filesystems expect lowercase names
of include-libraries and (usually) include files.
When crosscompiling on Linux (targeting MS Windows) linking fails
because mingw is looking for non-existent include-libraries.
Using lowercase names solves this.

Change-Id: If842ffbbc1307c1f338742402b75227eeab6453c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/v8/v8.pri

index bfe3eb8..e2b764e 100644 (file)
@@ -263,7 +263,7 @@ win32 {
 SOURCES += \
     $$V8SRC/platform-win32.cc \
     $$V8SRC/win32-math.cc
-LIBS += -lWs2_32 -lWinmm
+LIBS += -lws2_32 -lwinmm
 win32-msvc*: QMAKE_CXXFLAGS += -wd4100 -wd 4291 -wd4351 -wd4355 -wd4800
 win32-msvc*:arch_i386: DEFINES += _USE_32BIT_TIME_T
 }