summaryrefslogtreecommitdiffstats
path: root/src/mxe-conf.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/mxe-conf.mk')
-rw-r--r--src/mxe-conf.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mxe-conf.mk b/src/mxe-conf.mk
index 082c0ad..57fd890 100644
--- a/src/mxe-conf.mk
+++ b/src/mxe-conf.mk
@@ -56,7 +56,10 @@ define $(PKG)_BUILD
echo ' exec "$(PREFIX)/$(BUILD)/bin/cmake" "$$@"'; \
echo 'else'; \
echo ' echo "== Using MXE toolchain: $(CMAKE_TOOLCHAIN_FILE)"'; \
- echo ' exec "$(PREFIX)/$(BUILD)/bin/cmake" -DCMAKE_TOOLCHAIN_FILE="$(CMAKE_TOOLCHAIN_FILE)" "$$@"'; \
+ echo ' echo "== Using MXE runresult: $(CMAKE_RUNRESULT_FILE)"'; \
+ echo ' exec "$(PREFIX)/$(BUILD)/bin/cmake" \
+ -DCMAKE_TOOLCHAIN_FILE="$(CMAKE_TOOLCHAIN_FILE)" \
+ -C"$(CMAKE_RUNRESULT_FILE)" "$$@"'; \
echo 'fi'; \
) \
> '$(PREFIX)/bin/$(TARGET)-cmake'