summaryrefslogtreecommitdiff
path: root/packaging/windows/tmw.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/tmw.nsi')
-rw-r--r--packaging/windows/tmw.nsi6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/windows/tmw.nsi b/packaging/windows/tmw.nsi
index 536b98f62..4f5b24501 100644
--- a/packaging/windows/tmw.nsi
+++ b/packaging/windows/tmw.nsi
@@ -41,6 +41,10 @@ RequestExecutionLevel admin
!define BITS 32
!endif
+!ifndef SEHDLL
+ !define SEHDLL "libgcc_s_sjlj-1.dll"
+!endif
+
;--- (and without !defines ) ---
!System "${UPX} --best --crp-ms=999999 --compress-icons=0 --nrv2d ${EXEDIR}\manaplus.exe"
@@ -266,7 +270,7 @@ Section "Core files (required)" SecCore
File "${DLLDIR}\libSDL_gfx-15.dll"
File "${DLLDIR}\libcurl-4.dll"
File "${DLLDIR}\libfreetype-6.dll"
- File "${DLLDIR}\libgcc_s_sjlj-1.dll"
+ File "${DLLDIR}\${SEHDLL}"
File "${DLLDIR}\libiconv-2.dll"
File "${DLLDIR}\libintl-8.dll"
File "${DLLDIR}\libjpeg-9.dll"