diff options
author | Dan Gudmundsson <[email protected]> | 2015-10-27 10:22:27 +0100 |
---|---|---|
committer | Dan Gudmundsson <[email protected]> | 2015-10-27 10:22:27 +0100 |
commit | 4b5853e7865d6a1baab39d7345b1b8d0280a4291 (patch) | |
tree | 61699b0084530ddf47d49bb86bd54abc708a8dd5 /erts/etc/win32/nsis/Makefile | |
parent | fe04061666bdf31ae894a099b266fcb1ce299fd5 (diff) | |
parent | 36707f0eac0fdb61331a8cee4917a00a301528a3 (diff) | |
download | otp-4b5853e7865d6a1baab39d7345b1b8d0280a4291.tar.gz otp-4b5853e7865d6a1baab39d7345b1b8d0280a4291.tar.bz2 otp-4b5853e7865d6a1baab39d7345b1b8d0280a4291.zip |
Merge branch 'maint'
* maint:
cdv: Fix crashdump ets table type
observer: Show ets owner pid in crashdump viewers ets popup window
erts: Detect and build on MSYS2 for windows
Diffstat (limited to 'erts/etc/win32/nsis/Makefile')
-rw-r--r-- | erts/etc/win32/nsis/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/erts/etc/win32/nsis/Makefile b/erts/etc/win32/nsis/Makefile index 49d835170a..64f44ff86d 100644 --- a/erts/etc/win32/nsis/Makefile +++ b/erts/etc/win32/nsis/Makefile @@ -42,7 +42,13 @@ include $(ERL_TOP)/make/otp_release_targets.mk TARGET_DIR = $(RELEASE_PATH) -ifeq ($(MSYSTEM),MINGW32) +ifdef MSYSTEM + ifeq ($(MSYSTEM),$(filter $(MSYSTEM),MSYS MINGW32 MINGW64)) + USEMSYS := true + endif +endif + +ifeq ($(USEMSYS),true) MAKENSISFLAGS = //V2 WTESTROOT=$(shell (msys2win_path.sh "$(RELEASE_PATH)")) @@ -63,7 +69,7 @@ else endif REDIST_FILE=$(shell (sh ./find_redist.sh || echo "")) -ifeq ($(MSYSTEM),MINGW32) +ifeq ($(USEMSYS),true) NICEREDISTFILE=$(shell (msys2win_path.sh -m "$(REDIST_FILE)" 2>/dev/null || echo "")) else NICEREDISTFILE=$(shell (cygpath -d -m "$(REDIST_FILE)" 2>/dev/null || echo "")) |