graw-null: Try to fix MSVC linkage problems.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 6 May 2010 20:06:10 +0000 (21:06 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 6 May 2010 20:06:53 +0000 (21:06 +0100)
src/gallium/targets/graw-null/SConscript

index 99b6f5f425160ab4b172e810e300124b774d0a0a..2849d6667c27de5da68b1eafb706cfd664f33f0f 100644 (file)
@@ -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')