scons: add common.c as part of glcpp build
authorTapani Pälli <tapani.palli@intel.com>
Fri, 30 May 2014 07:10:09 +0000 (10:10 +0300)
committerTapani Pälli <tapani.palli@intel.com>
Fri, 30 May 2014 07:11:44 +0000 (10:11 +0300)
to have _mesa_error_no_memory function available

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=79440
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
src/glsl/SConscript

index fe9d507328b6a5def428bc2c78c2156513c09c24..dc354775a559097aa4732b79b0d8e6ecf10639db 100644 (file)
@@ -106,6 +106,6 @@ env.Alias('glsl_compiler', glsl_compiler)
 
 glcpp = env.Program(
     target = 'glcpp/glcpp',
-    source = ['glcpp/glcpp.c'] + mesa_objs,
+    source = ['glcpp/glcpp.c', 'tests/common.c'] + mesa_objs,
 )
 env.Alias('glcpp', glcpp)