blob: 57ecd906d781cb2a0f86b887e291cc7f0bde3f6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
diff -Nru nsis-2.23-src.orig/SCons/Config/gnu nsis-2.23-src/SCons/Config/gnu
--- nsis-2.23-src.orig/SCons/Config/gnu 2006-11-11 15:04:17.000000000 +0200
+++ nsis-2.23-src/SCons/Config/gnu 2007-01-15 14:25:59.000000000 +0200
@@ -68,6 +68,7 @@
if not defenv['DEBUG']:
stub_env.Append(LINKFLAGS = '-s') # strip
stub_env.Append(LINKFLAGS = '-mwindows') # build windows executables
+stub_env.Append(LINKFLAGS = '-L/usr/mingw32/usr/lib')
stub_env.Append(LINKFLAGS = '$NODEFLIBS_FLAG') # no standard libraries
stub_env.Append(LINKFLAGS = '$ALIGN_FLAG') # 512 bytes align
stub_env.Append(LINKFLAGS = '-Wl,-e,_WinMain@16') # entry point
@@ -83,8 +84,6 @@
conf = FlagsConfigure(makensis_env)
conf.CheckLinkFlag('$MAP_FLAG') # generate map file
-if not defenv['DEBUG']:
- TestStrip(conf) # strip
conf.Finish()
### plugin environment
@@ -112,8 +111,6 @@
conf = FlagsConfigure(cp_util_env)
conf.CheckLinkFlag('$MAP_FLAG') # generate map file
-if not defenv['DEBUG']:
- TestStrip(conf) # strip
conf.Finish()
### util environment
|