Module: Mesa
Branch: gallium-0.2
Commit: 017892636a29a40966085d360df8f35865e226d2
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=017892636a29a40966085d360df8f35865e226d2

Author: José Fonseca <jfons...@vmware.com>
Date:   Sat Jan 24 14:33:54 2009 +0000

scons: Use --enable-stdcall-fixup only when building DLLs.

---

 scons/crossmingw.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/scons/crossmingw.py b/scons/crossmingw.py
index b1141c9..53b4d2e 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)

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to