diff options
author | Tony Theodore <tonyt@logyst.com> | 2019-04-03 11:16:21 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2019-04-03 11:16:21 (GMT) |
commit | 86079641c83083425742d3ed2659fd9ff3621a04 (patch) | |
tree | 11fb05d0fd13a9c0af18df1a138d8b8f756fa37a | |
parent | 9426f0df0bde877046ce116c5518c6715782b440 (diff) | |
download | mxe-86079641c83083425742d3ed2659fd9ff3621a04.zip mxe-86079641c83083425742d3ed2659fd9ff3621a04.tar.gz mxe-86079641c83083425742d3ed2659fd9ff3621a04.tar.bz2 |
qt: fix libmng/tiff cmake deps
-rw-r--r-- | src/qt.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' |