aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/win32/nsis/Makefile
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2012-11-28 16:36:41 +0100
committerPatrik Nyblom <[email protected]>2012-11-28 16:36:41 +0100
commitc4d680549e11e116dcdd95ac29101ef3e54aba5f (patch)
tree7a8b779598ca89711c3c1f21a491ec78c976f4df /erts/etc/win32/nsis/Makefile
parent0ba0ffb914fa423ef34faa233f5bd92e9fa753ab (diff)
parentaf68f5a22f995284b07ece178c42e630ecf94d54 (diff)
downloadotp-c4d680549e11e116dcdd95ac29101ef3e54aba5f.tar.gz
otp-c4d680549e11e116dcdd95ac29101ef3e54aba5f.tar.bz2
otp-c4d680549e11e116dcdd95ac29101ef3e54aba5f.zip
Merge branch 'maint'
Diffstat (limited to 'erts/etc/win32/nsis/Makefile')
-rw-r--r--erts/etc/win32/nsis/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/erts/etc/win32/nsis/Makefile b/erts/etc/win32/nsis/Makefile
index a53ac708f8..7bcecaa264 100644
--- a/erts/etc/win32/nsis/Makefile
+++ b/erts/etc/win32/nsis/Makefile
@@ -62,9 +62,15 @@ else
endif
REDIST_FILE=$(shell (sh ./find_redist.sh || echo ""))
+ifeq ($(MSYSTEM),MINGW32)
+ NICEREDISTFILE=$(shell (msys2win_path.sh -m "$(REDIST_FILE)" 2>/dev/null || echo ""))
+else
+ NICEREDISTFILE=$(shell (cygpath -d -m "$(REDIST_FILE)" 2>/dev/null || echo ""))
+endif
+
REDIST_TARGET=$(shell (sh ./find_redist.sh -n || echo ""))
-REDIST_DLL_VERSION=$(shell (sh ./dll_version_helper.sh || echo ""))
-REDIST_DLL_NAME=$(shell (sh ./dll_version_helper.sh -n || echo ""))
+REDIST_DLL_VERSION=$(shell (sh ./dll_version_helper.sh $(NICEREDISTFILE) || echo ""))
+REDIST_DLL_NAME=$(shell (sh ./dll_version_helper.sh -n $(NICEREDISTFILE) || echo ""))
release_spec:
@NSIS_VER=`makensis /hdrinfo | head -1 | awk '{print $$2}'`; \