nir: move shader_enums.[ch] to compiler
[mesa.git] / src / glsl / SConscript
index a9d38c163b71c0a44e3e674e90b6a14d3b4c1c2c..e89d4e0eb0161c416cd1a5ba6ea72473dbff3cea 100644 (file)
@@ -65,7 +65,6 @@ for l in ('LIBGLCPP_FILES', 'LIBGLSL_FILES'):
 # XXX: Remove this once we build NIR and NIR_FILES.
 glsl_sources += [
     'nir/glsl_types.cpp',
-    'nir/shader_enums.c',
 ]
 
 if env['msvc']:
@@ -115,7 +114,7 @@ if env['platform'] == 'windows':
         'user32',
     ])
 
-env.Prepend(LIBS = [glsl])
+env.Prepend(LIBS = [compiler, glsl])
 
 glsl_compiler = env.Program(
     target = 'glsl_compiler',