nsi: Add libgcc_s_sjlj-1.dll and libwinpthread-1.dll for MSVC x86

This commit is contained in:
Jonas Kvinge 2023-06-05 00:41:34 +02:00
parent 0d294eb218
commit 4fd617a32f
1 changed files with 11 additions and 0 deletions

View File

@ -489,6 +489,12 @@ Section "Strawberry" Strawberry
File "zlibd.dll"
!endif
; Used by libfftw3-3.dll because fftw is compiled with MinGW.
!ifdef arch_x86
File "libgcc_s_sjlj-1.dll"
File "libwinpthread-1.dll"
!endif
!endif ; MSVC
; Common files
@ -1038,6 +1044,11 @@ Section "Uninstall"
Delete "$INSTDIR\zlibd.dll"
!endif
!ifdef arch_x86
Delete "$INSTDIR\libgcc_s_sjlj-1.dll"
Delete "$INSTDIR\libwinpthread-1.dll"
!endif
!endif ; MSVC
; Common files