Mesa (master): glsl/Makefile: Fix build with --as-needed.
Kenneth Graunke
kwg at kemper.freedesktop.org
Thu Jan 13 00:37:21 UTC 2011
Module: Mesa
Branch: master
Commit: b076551e3bf03b9710f4d795e3490ac7ccfd5a9a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b076551e3bf03b9710f4d795e3490ac7ccfd5a9a
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Wed Jan 12 16:37:03 2011 -0800
glsl/Makefile: Fix build with --as-needed.
---
src/glsl/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/glsl/Makefile b/src/glsl/Makefile
index 15f7029..c952544 100644
--- a/src/glsl/Makefile
+++ b/src/glsl/Makefile
@@ -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...
More information about the mesa-commit
mailing list