qt: fix libmng/tiff cmake deps

This commit is contained in:
Tony Theodore 2019-04-03 22:16:21 +11:00
parent 9426f0df0b
commit 86079641c8
1 changed files with 1 additions and 1 deletions

View File

@ -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'