gallium/gbm: Add dependencies for libraries linked into pipe_*.so.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 12 Aug 2011 09:10:56 +0000 (11:10 +0200)
committerMichel Dänzer <michel@daenzer.net>
Fri, 12 Aug 2011 09:10:56 +0000 (11:10 +0200)
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/targets/gbm/Makefile

index b38782c..faacc89 100644 (file)
@@ -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) $< \