mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 11:00:11 +01:00
compiler: move build definition of pp_standalone_scaffolding.c
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>
This commit is contained in:
parent
5934a53bfe
commit
cd6322366d
2 changed files with 3 additions and 2 deletions
|
|
@ -186,8 +186,7 @@ LIBGLSL_GENERATED_FILES = \
|
|||
|
||||
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 \
|
||||
|
|
|
|||
|
|
@ -63,6 +63,8 @@ source_lists = env.ParseSourceList('Makefile.sources')
|
|||
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])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue