diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-09-23 04:53:47 (GMT) |
---|---|---|
committer | Timothy Gu <timothygu99@gmail.com> | 2014-09-23 04:53:47 (GMT) |
commit | 8a6cf7cab7ab03217fd8e6c305eabc7d2913a4b3 (patch) | |
tree | 0070dc54f8abd3794a70887703ff74a93300b0f7 /src/qt5.mk | |
parent | 66f96745cf85bca5507995e773fc5f9f53d5c9d9 (diff) | |
download | mxe-8a6cf7cab7ab03217fd8e6c305eabc7d2913a4b3.zip mxe-8a6cf7cab7ab03217fd8e6c305eabc7d2913a4b3.tar.gz mxe-8a6cf7cab7ab03217fd8e6c305eabc7d2913a4b3.tar.bz2 |
qt5: try to fix CMake files
See #466.
This is one of the worst hacks I've ever seen. If there is a way to fix
this better, please mention on #466.
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'src/qt5.mk')
-rw-r--r-- | src/qt5.mk | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -16,3 +16,9 @@ $(PKG)_DEPS := $(patsubst $(TOP_DIR)/src/%.mk,%,\ define $(PKG)_UPDATE echo $(qtbase_VERSION) endef + +define $(PKG)_FIX_CMAKE_FILE + $(if $(BUILD_STATIC), \ + find $(PREFIX)/$(TARGET)/qt5/lib/cmake/ -name '*\.cmake' | \ + xargs $(SED) -i 's!/\(.*\)\.lib!/lib\1\.a!g') +endef |