File nsis-2.45-static-libgcc.patch of Package mingw32-cross-nsis

diff --git a/SCons/Config/gnu b/SCons/Config/gnu
index 7b64ccc..ef9e94b 100755
--- a/SCons/Config/gnu
+++ b/SCons/Config/gnu
@@ -117,6 +117,8 @@ if not defenv['DEBUG'] and defenv['STRIP'] and defenv['STRIP_W32']:
 plugin_env.Append(LINKFLAGS = ['-mwindows'])        # build windows executables
 plugin_env.Append(LINKFLAGS = ['$ALIGN_FLAG'])      # 512 bytes align
 plugin_env.Append(LINKFLAGS = ['$MAP_FLAG'])        # generate map file
+plugin_env.Append(LINKFLAGS = ['-static-libgcc'])   # remove libgcc*.dll dependency
+plugin_env.Append(LINKFLAGS = ['-static-libstdc++'])   # remove libgcc*.dll dependency
 
 ### cross-platform util environment
 
openSUSE Build Service is sponsored by