glsl: Fix dependencies / linkage for glsl_compiler
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 28 Jan 2011 01:51:55 +0000 (17:51 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 31 Jan 2011 23:32:55 +0000 (15:32 -0800)
src/glsl/Makefile

index 8316dfbe7c9e3f450ebdf20753b1c63d3db92317..4f307422c27b72a27286e271db2e52b59d6788ec 100644 (file)
@@ -148,8 +148,8 @@ install:
 
 ##### RULES #####
 
-glsl_compiler: $(GLSL2_OBJECTS) libglsl.a
-       $(APP_CXX) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(GLSL2_OBJECTS) $(LIBS) -o $@
+glsl_compiler: $(GLSL2_OBJECTS) libglsl.a builtin_stubs.o
+       $(APP_CXX) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(GLSL2_OBJECTS) builtin_stubs.o $(LIBS) -o $@
 
 glcpp/glcpp: $(GLCPP_OBJECTS) libglsl.a
        $(APP_CC) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(GLCPP_OBJECTS) $(LIBS) -o $@