summaryrefslogtreecommitdiffstats
path: root/src/nsis.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2020-12-05 05:00:09 (GMT)
committerTony Theodore <tonyt@logyst.com>2020-12-10 01:38:39 (GMT)
commit7af19687e295a79a4d0ff62f649fe2a8865aa54e (patch)
tree373d20280ade38aef9db379c63dd9b54ced999d5 /src/nsis.mk
parent22bde36de17ff465aa84dbb623cdd62ae326d062 (diff)
downloadmxe-7af19687e295a79a4d0ff62f649fe2a8865aa54e.zip
mxe-7af19687e295a79a4d0ff62f649fe2a8865aa54e.tar.gz
mxe-7af19687e295a79a4d0ff62f649fe2a8865aa54e.tar.bz2
scons: add PREP helper, use python wrapper, and pin 3x versions
Diffstat (limited to 'src/nsis.mk')
-rw-r--r--src/nsis.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nsis.mk b/src/nsis.mk
index 4f14cbc..8e707c9 100644
--- a/src/nsis.mk
+++ b/src/nsis.mk
@@ -31,8 +31,7 @@ endef
define $(PKG)_BUILD
# scons supports -j option but nsis parallel build fails
# nsis uses it's own BUILD_PREFIX which isn't user configurable
- mkdir -p '$(BUILD_DIR).scons'
- $(call PREPARE_PKG_SOURCE,scons-local,'$(BUILD_DIR).scons')
+ $(SCONS_PREP)
$(if $(findstring x86_64-w64-mingw32,$(TARGET)),\
$(SED) -i 's/pei-i386/pei-x86-64/' '$(1)/SCons/Config/linker_script' && \
$(SED) -i 's/m_target_type=TARGET_X86ANSI/m_target_type=TARGET_AMD64/' '$(SOURCE_DIR)/Source/build.cpp')