summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2019-04-03 11:16:21 (GMT)
committerTony Theodore <tonyt@logyst.com>2019-04-03 11:16:21 (GMT)
commit86079641c83083425742d3ed2659fd9ff3621a04 (patch)
tree11fb05d0fd13a9c0af18df1a138d8b8f756fa37a
parent9426f0df0bde877046ce116c5518c6715782b440 (diff)
downloadmxe-86079641c83083425742d3ed2659fd9ff3621a04.zip
mxe-86079641c83083425742d3ed2659fd9ff3621a04.tar.gz
mxe-86079641c83083425742d3ed2659fd9ff3621a04.tar.bz2
qt: fix libmng/tiff cmake deps
-rw-r--r--src/qt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt.mk b/src/qt.mk
index f185e85..5e3c6f7 100644
--- a/src/qt.mk
+++ b/src/qt.mk
@@ -141,7 +141,7 @@ define $(PKG)_BUILD
echo 'set(QT_QMAKE_EXECUTABLE $(PREFIX)/$(TARGET)/qt/bin/qmake CACHE FILEPATH "Qt4 qmake executable")' > '$(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'
+ echo "set(MNG_LIBRARY `$(TARGET)-pkg-config --libs-only-l libmng`)" >> '$(CMAKE_TOOLCHAIN_DIR)/$(PKG).cmake'
# test cmake
mkdir '$(1).test-cmake'