[vlc-devel] [PATCH 17/19] contrib: qt: fix build under mingw
Steve Lhomme
robux4 at videolabs.io
Wed Jun 14 14:02:06 CEST 2017
this is not a cross compilation
---
contrib/src/qt/rules.mak | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/contrib/src/qt/rules.mak b/contrib/src/qt/rules.mak
index 5f76893712..dbfa5063ca 100644
--- a/contrib/src/qt/rules.mak
+++ b/contrib/src/qt/rules.mak
@@ -30,8 +30,12 @@ ifdef HAVE_MACOSX
QT_PLATFORM := -platform darwin-g++
endif
ifdef HAVE_WIN32
+ifdef HAVE_CROSS_COMPILE
QT_SPEC := win32-g++
QT_PLATFORM := -xplatform win32-g++ -device-option CROSS_COMPILE=$(HOST)-
+else
+QT_PLATFORM := -platform win32-g++
+endif
endif
QT_CONFIG := -static -release -no-debug -opensource -confirm-license -no-pkg-config \
--
2.12.1
More information about the vlc-devel
mailing list