glsl/Makefile: Fix build with --as-needed.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Jan 2011 00:37:03 +0000 (16:37 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Jan 2011 00:37:03 +0000 (16:37 -0800)
src/glsl/Makefile

index 15f70298be3e427de9494d654e29095f6ebb5bc1..c9525446633aa9a02ad6964add8279e359f74c67 100644 (file)
@@ -174,7 +174,7 @@ glcpp/glcpp-parse.c: glcpp/glcpp-parse.y
        bison -v -o "$@" --defines=glcpp/glcpp-parse.h $<
 
 builtin_compiler: $(GLSL2_OBJECTS) $(OBJECTS) builtin_stubs.o
-       $(APP_CXX) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(TALLOC_LIBS) $(OBJECTS) $(GLSL2_OBJECTS) builtin_stubs.o -o builtin_compiler
+       $(APP_CXX) $(INCLUDES) $(CFLAGS) $(LDFLAGS) $(OBJECTS) $(GLSL2_OBJECTS) builtin_stubs.o $(TALLOC_LIBS) -o $@
 
 builtin_function.cpp: builtins/profiles/* builtins/ir/* builtins/tools/generate_builtins.py builtins/tools/texture_builtins.py builtin_compiler
        @echo Regenerating builtin_function.cpp...