summaryrefslogtreecommitdiffstats
path: root/src/cmake-conf.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2017-08-15 05:44:59 (GMT)
committerTony Theodore <tonyt@logyst.com>2017-08-15 05:46:46 (GMT)
commit3631f2f307232a720a69422e0b921feb48d1e9ee (patch)
tree42a37e1a3b94bc29e7133433801073d9939254e6 /src/cmake-conf.mk
parenta008e046c6695b7185a3571293ce3dfe19f8f1de (diff)
downloadmxe-3631f2f307232a720a69422e0b921feb48d1e9ee.zip
mxe-3631f2f307232a720a69422e0b921feb48d1e9ee.tar.gz
mxe-3631f2f307232a720a69422e0b921feb48d1e9ee.tar.bz2
cmake: add prefixed cpack and CPACK_NSIS_EXECUTABLE
see #1502
Diffstat (limited to 'src/cmake-conf.mk')
-rw-r--r--src/cmake-conf.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmake-conf.mk b/src/cmake-conf.mk
index d9c086d..925f12f 100644
--- a/src/cmake-conf.mk
+++ b/src/cmake-conf.mk
@@ -36,6 +36,8 @@ define $(PKG)_BUILD
-DINPUT='$(PWD)/src/cmake/conf/target-cmake.in' \
-DOUTPUT='$(PREFIX)/bin/$(TARGET)-cmake'
chmod 0755 '$(PREFIX)/bin/$(TARGET)-cmake'
+
+ ln -sf '$(PREFIX)/$(BUILD)/bin/cpack' '$(PREFIX)/bin/$(TARGET)-cpack'
endef
define $(PKG)_BUILD_$(BUILD)