summaryrefslogtreecommitdiff
path: root/packaging/windows/setup.nsi
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-14 21:20:08 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-14 21:20:38 +0300
commit6c84be6bfc43e839bfd76f146aabfff6d1fd025f (patch)
treee3db078d544db5e7e258f034da146b249c06ab96 /packaging/windows/setup.nsi
parentce46bdf12fcf69aff19fcef46229f17a0214570f (diff)
downloadplus-6c84be6bfc43e839bfd76f146aabfff6d1fd025f.tar.gz
plus-6c84be6bfc43e839bfd76f146aabfff6d1fd025f.tar.bz2
plus-6c84be6bfc43e839bfd76f146aabfff6d1fd025f.tar.xz
plus-6c84be6bfc43e839bfd76f146aabfff6d1fd025f.zip
Add SEHDLL variable in windows installer build scripts.
Diffstat (limited to 'packaging/windows/setup.nsi')
-rw-r--r--packaging/windows/setup.nsi6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index 32a4a5d26..56e671236 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.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"
@@ -263,7 +267,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"