From f5ec4d8aa8ae844a7d1675ba85f416c290b1b4ea Mon Sep 17 00:00:00 2001 From: Yuchen Deng Date: Fri, 18 May 2012 22:12:19 +0800 Subject: [PATCH] V8: Fix cross builds with win32-g++-cross mkspec 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 --- src/v8/v8.pri | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v8/v8.pri b/src/v8/v8.pri index bfe3eb8..e2b764e 100644 --- a/src/v8/v8.pri +++ b/src/v8/v8.pri @@ -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 } -- 2.7.4