glsl: Fix mingw crosscompile
authorJakob Bornecrantz <jakob@vmware.com>
Mon, 24 Jan 2011 22:26:03 +0000 (23:26 +0100)
committerJakob Bornecrantz <jakob@vmware.com>
Mon, 24 Jan 2011 23:58:46 +0000 (00:58 +0100)
src/glsl/SConscript

index 88a83fdb6fa0c37649d2c5a3cf523c1bdf14e4e0..5885e4b4f7d54172c4fabab5f0c2ef72340135d4 100644 (file)
@@ -91,6 +91,7 @@ if env['platform'] == common.host_platform:
         env.Prepend(CPPPATH = ['#src/talloc'])
         env.Prepend(LIBS = [talloc])
     else:
+        env.Prepend(CPPPATH = ['#include'])
         env.Prepend(LIBS = ['talloc'])
 
     builtin_compiler = env.Program(