This should fix android build issues while still allowing scons to
build the standalone compiler.
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2129
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
LIBGLCPP_FILES = \
glsl/glcpp/glcpp.h \
- glsl/glcpp/pp.c \
- glsl/glcpp/pp_standalone_scaffolding.c
+ glsl/glcpp/pp.c
LIBGLCPP_GENERATED_FILES = \
glsl/glcpp/glcpp-lex.c \
for l in ('LIBGLCPP_FILES', 'LIBGLSL_FILES'):
glsl_sources += source_lists[l]
+glsl_sources += env.StaticObject("glsl/glcpp/pp_standalone_scaffolding.c")
+
if env['msvc']:
env.Prepend(CPPPATH = ['#/src/getopt'])
env.PrependUnique(LIBS = [getopt])