Mesa (master): graw-null: Try to fix MSVC linkage problems.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Thu May 6 20:07:01 UTC 2010
Module: Mesa
Branch: master
Commit: f63672c9ab51e6855c2a6bedc6d23d7cd23d329a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=f63672c9ab51e6855c2a6bedc6d23d7cd23d329a
Author: José Fonseca <jfonseca at vmware.com>
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')
More information about the mesa-commit
mailing list