Make sure we rebuild shared libraries when a static library that's being linked in changes. Fallout from bug 231162. r=cls.

This commit is contained in:
bryner%brianryner.com 2004-01-23 08:15:49 +00:00
Родитель 8be89012ff
Коммит 4fe3f1bf1f
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -634,6 +634,9 @@ INCLUDES += -I.
DEPENDENT_LIBS_H = dependentLibs.h
GARBAGE += $(DEPENDENT_LIBS_H)
# Create a dependency on static libraries listed in EXTRA_DSO_LDOPTS
DSO_LDOPTS_DEPS = $(filter %.$(LIB_SUFFIX), $(EXTRA_DSO_LDOPTS))
export:: $(DEPENDENT_LIBS_H)
$(DEPENDENT_LIBS_H): Makefile Makefile.in
@ -994,7 +997,7 @@ ifdef NO_LD_ARCHIVE_FLAGS
SUB_SHLOBJS = $(SUB_LOBJS)
endif
$(SHARED_LIBRARY): $(OBJS) $(LOBJS) $(DEF_FILE) $(RESFILE) $(SHARED_LIBRARY_LIBS) $(EXTRA_DEPS) Makefile Makefile.in
$(SHARED_LIBRARY): $(OBJS) $(LOBJS) $(DEF_FILE) $(RESFILE) $(SHARED_LIBRARY_LIBS) $(EXTRA_DEPS) $(DSO_LDOPTS_DEPS) Makefile Makefile.in
ifndef INCREMENTAL_LINKER
rm -f $@
endif