Mesa (master): gallium/gbm: Add dependencies for libraries linked into pipe_*.so.

Michel Dänzer daenzer at kemper.freedesktop.org
Fri Aug 12 10:17:37 PDT 2011


Module: Mesa
Branch: master
Commit: 3ce243879a72363ca3283fe6ab30381e05a9b4a3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ce243879a72363ca3283fe6ab30381e05a9b4a3

Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Fri Aug 12 11:10:56 2011 +0200

gallium/gbm: Add dependencies for libraries linked into pipe_*.so.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>

---

 src/gallium/targets/gbm/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/targets/gbm/Makefile b/src/gallium/targets/gbm/Makefile
index b38782c..faacc89 100644
--- a/src/gallium/targets/gbm/Makefile
+++ b/src/gallium/targets/gbm/Makefile
@@ -146,7 +146,7 @@ $(GBM_EXTRA_TARGETS): $(TOP)/$(LIB_DIR)/gbm/%: %
 	@$(INSTALL) -d $(dir $@)
 	$(INSTALL) $< $(dir $@)
 
-$(pipe_TARGETS): $(PIPE_PREFIX)%.so: pipe_%.o
+$(pipe_TARGETS): $(PIPE_PREFIX)%.so: pipe_%.o $(pipe_LIBS) $($*_LIBS)
 	$(MKLIB) -o $@ -noprefix -linker '$(CC)' \
 		-ldflags '-L$(TOP)/$(LIB_DIR) $(pipe_LDFLAGS) $(LDFLAGS)' \
 		$(MKLIB_OPTIONS) $< \



More information about the mesa-commit mailing list