diff options
author | José Fonseca <[email protected]> | 2009-01-24 14:33:54 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2009-01-24 14:33:54 +0000 |
commit | 017892636a29a40966085d360df8f35865e226d2 (patch) | |
tree | 3135894c8acbabf285f0ce3956ff8ab83fadfb28 /scons | |
parent | 0e4e76572e3a8808b06916b5359fc5cc71fd04a4 (diff) |
scons: Use --enable-stdcall-fixup only when building DLLs.
Diffstat (limited to 'scons')
-rw-r--r-- | scons/crossmingw.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scons/crossmingw.py b/scons/crossmingw.py index b1141c97ce8..53b4d2e47d4 100644 --- a/scons/crossmingw.py +++ b/scons/crossmingw.py @@ -174,7 +174,8 @@ def generate(env): env['LIBSUFFIXES'] = [ '.a', '.lib' ] env.AppendUnique(LIBS = ['iberty']) - env.AppendUnique(LINKFLAGS = ['-Wl,--enable-stdcall-fixup']) + env.AppendUnique(SHLINKFLAGS = ['-Wl,--enable-stdcall-fixup']) + #env.AppendUnique(SHLINKFLAGS = ['-Wl,--kill-at']) def exists(env): return find(env) |