summaryrefslogtreecommitdiff
path: root/src/gallium/targets/graw-null/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/graw-null/SConscript')
-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')