summaryrefslogtreecommitdiffstats
path: root/plugins/examples/qt5-freeze/README.md
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-10-10 12:15:06 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-10-10 12:46:31 (GMT)
commitab5d9a7185d90a977ccf3ca70c96edf027af5c79 (patch)
tree7368623b360f3d8ffd0c733dc4fd443cada1d018 /plugins/examples/qt5-freeze/README.md
parentf118332737b69447856302738dc1cd8932bb152b (diff)
downloadmxe-ab5d9a7185d90a977ccf3ca70c96edf027af5c79.zip
mxe-ab5d9a7185d90a977ccf3ca70c96edf027af5c79.tar.gz
mxe-ab5d9a7185d90a977ccf3ca70c96edf027af5c79.tar.bz2
qttools: read test from current directory and freeze example 5.7 plugin
see: https://github.com/mxe/mxe/issues/1901#issuecomment-333551106
Diffstat (limited to 'plugins/examples/qt5-freeze/README.md')
-rw-r--r--plugins/examples/qt5-freeze/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/examples/qt5-freeze/README.md b/plugins/examples/qt5-freeze/README.md
index bda7dfe..78383cc 100644
--- a/plugins/examples/qt5-freeze/README.md
+++ b/plugins/examples/qt5-freeze/README.md
@@ -29,6 +29,9 @@ export QT5_PKGS=${QT5_PKGS}qtbase
cp `eval echo src/{$QT5_PKGS}.mk` $PLUGIN_DIR
cp `eval echo src/{$QT5_PKGS}-*.patch` $PLUGIN_DIR
+# copy other relevant sources
+cp -R src/qttools-test $PLUGIN_DIR
+
# set $(PKG)_PATCHES to only look for patches in the current directory
# on macos, use `gsed` instead of `sed`
find $PLUGIN_DIR -name "qt[^5]*.mk" -exec sed -i '9i$(PKG)_PATCHES := $(realpath $(sort $(wildcard $(dir $(lastword $(MAKEFILE_LIST)))/$(PKG)-[0-9]*.patch)))' {} \;