From be7a35443eda71b1035ad2006ef60d333597d734 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 14 Oct 2020 16:55:17 +0200 Subject: [PATCH] Add gdb to nsi --- dist/windows/strawberry.nsi.in | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/dist/windows/strawberry.nsi.in b/dist/windows/strawberry.nsi.in index 35c4a334d..92321b0ba 100644 --- a/dist/windows/strawberry.nsi.in +++ b/dist/windows/strawberry.nsi.in @@ -279,6 +279,16 @@ Section "Strawberry" Strawberry File "libqtsparkle-qt5.dll" !endif +!ifdef debug + File "gdb.exe" + File "libdl.dll" + File "libexpat-1.dll" + File "libmman.dll" + File "libmpfr-6.dll" + File "libreadline8.dll" + File "libtermcap.dll" +!endif + File "killproc.exe" ; Register Strawberry with Default Programs @@ -533,6 +543,16 @@ Section "Uninstall" Delete "$INSTDIR\swscale-5.dll" Delete "$INSTDIR\zlib1.dll" +!ifdef debug + Delete "$INSTDIR\gdb.exe" + Delete "$INSTDIR\libdl.dll" + Delete "$INSTDIR\libexpat-1.dll" + Delete "$INSTDIR\libmman.dll" + Delete "$INSTDIR\libmpfr-6.dll" + Delete "$INSTDIR\libreadline8.dll" + Delete "$INSTDIR\libtermcap.dll" +!endif + Delete "$INSTDIR\gio-modules\libgiognutls.dll" Delete "$INSTDIR\platforms\qwindows.dll" Delete "$INSTDIR\sqldrivers\qsqlite.dll"