summaryrefslogtreecommitdiff
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-05-06 21:06:10 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-05-06 21:06:53 +0100
commitf63672c9ab51e6855c2a6bedc6d23d7cd23d329a (patch)
treeee4389fdf1eb313bb85f5d216351666ad1574cde /src/gallium/targets
parent54f95d20e339b8c7af6d06cb92b147f61a240486 (diff)
graw-null: Try to fix MSVC linkage problems.
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/graw-null/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/targets/graw-null/SConscript b/src/gallium/targets/graw-null/SConscript
index 99b6f5f425..2849d6667c 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')