Module: Mesa
Branch: master
Commit: f63672c9ab51e6855c2a6bedc6d23d7cd23d329a
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=f63672c9ab51e6855c2a6bedc6d23d7cd23d329a

Author: José Fonseca <[email protected]>
Date:   Thu May  6 21:06:10 2010 +0100

graw-null: Try to fix MSVC linkage problems.

---

 src/gallium/targets/graw-null/SConscript |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/gallium/targets/graw-null/SConscript 
b/src/gallium/targets/graw-null/SConscript
index 99b6f5f..2849d66 100644
--- a/src/gallium/targets/graw-null/SConscript
+++ b/src/gallium/targets/graw-null/SConscript
@@ -48,6 +48,9 @@ graw = env.SharedLibrary(
 
 env.InstallSharedLibrary(graw, version=(1, 0))
 
-graw = env.FindIxes(graw, 'SHLIBPREFIX', 'SHLIBSUFFIX')
+if env['platform'] == 'windows':
+    graw = env.FindIxes(graw, 'LIBPREFIX', 'LIBSUFFIX')
+else:
+    graw = env.FindIxes(graw, 'SHLIBPREFIX', 'SHLIBSUFFIX')
 
 Export('graw')

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to