summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Müllenhaupt <muellni@netlair.de>2015-09-15 12:09:42 (GMT)
committerMartin Müllenhaupt <muellni@netlair.de>2015-09-15 12:09:42 (GMT)
commitdc2526a2d89b83a3398a503e2b1e78ed2f0c6dac (patch)
treea44f4e0ce1cbc8188159552bbb8cd69813f07ed2
parent120e2757530945dbf9e26e5afceaef001af164a2 (diff)
downloadmxe-dc2526a2d89b83a3398a503e2b1e78ed2f0c6dac.zip
mxe-dc2526a2d89b83a3398a503e2b1e78ed2f0c6dac.tar.gz
mxe-dc2526a2d89b83a3398a503e2b1e78ed2f0c6dac.tar.bz2
qt: fix QtGui CMake static linking errors
-rw-r--r--src/qt.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt.mk b/src/qt.mk
index ac05546..30e85a7 100644
--- a/src/qt.mk
+++ b/src/qt.mk
@@ -114,6 +114,9 @@ define $(PKG)_BUILD
# setup cmake toolchain
echo 'set(QT_QMAKE_EXECUTABLE $(PREFIX)/$(TARGET)/qt/bin/qmake)' > '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
+ # fix static linking errors of QtGui to missing lcms2 and lzma
+ # introduced by poor libmng linking
+ echo 'set(MNG_LIBRARY mng lcms2 lzma)' >> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
endef