tests/raw: Get it building with scons.
[mesa.git] / src / gallium / targets / graw-xlib / SConscript
index 979252b22d7301498b7b3dbac6e014996159d424..b30c2d9ab43df1541f0165aa7dfb019c0cee27af 100644 (file)
@@ -8,6 +8,8 @@ if env['platform'] != 'linux':
 
 env = env.Clone()
 
+env.Tool('x11')
+
 env.Prepend(LIBS = [
     ws_xlib,
     trace,
@@ -40,12 +42,10 @@ env.Prepend(LIBS = [gallium])
 
 # TODO: write a wrapper function http://www.scons.org/wiki/WrapperFunctions
 graw = env.SharedLibrary(
-    target ='graw',
+    target ='#lib/graw',
     source = sources,
 )
 
-env.InstallSharedLibrary(graw, version=(1, 0))
-
 graw = env.FindIxes(graw, 'SHLIBPREFIX', 'SHLIBSUFFIX')
 
 Export('graw')