зеркало из https://github.com/mozilla/gecko-dev.git
Bug 795204 - Trick make/pymake into waiting for shared libraries rules to run before installing import libraries in DIST/lib. r=ted, a=akeybl
--HG-- extra : transplant_source : %B9%92%22L%DDU%D7%0E%0B%EC%80%C6%8D%A4%28%EE%B7%D3h%8E
This commit is contained in:
Родитель
278745d864
Коммит
912253297c
|
@ -821,7 +821,14 @@ $(filter-out %.$(LIB_SUFFIX),$(LIBRARY)): $(filter %.$(LIB_SUFFIX),$(LIBRARY)) $
|
|||
$(EXPAND_LIBS_GEN) -o $@ $(OBJS) $(LOBJS) $(SHARED_LIBRARY_LIBS)
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
$(IMPORT_LIBRARY): $(SHARED_LIBRARY)
|
||||
# Import libraries are created by the rules creating shared libraries.
|
||||
# The rules to copy them to $(DIST)/lib depend on $(IMPORT_LIBRARY),
|
||||
# but make will happily consider the import library before it is refreshed
|
||||
# when rebuilding the corresponding shared library. Defining an empty recipe
|
||||
# for import libraries forces make to wait for the shared library recipe to
|
||||
# have run before considering other targets that depend on the import library.
|
||||
# See bug 795204.
|
||||
$(IMPORT_LIBRARY): $(SHARED_LIBRARY) ;
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),OS2)
|
||||
|
|
|
@ -821,7 +821,14 @@ $(filter-out %.$(LIB_SUFFIX),$(LIBRARY)): $(filter %.$(LIB_SUFFIX),$(LIBRARY)) $
|
|||
$(EXPAND_LIBS_GEN) -o $@ $(OBJS) $(LOBJS) $(SHARED_LIBRARY_LIBS)
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
$(IMPORT_LIBRARY): $(SHARED_LIBRARY)
|
||||
# Import libraries are created by the rules creating shared libraries.
|
||||
# The rules to copy them to $(DIST)/lib depend on $(IMPORT_LIBRARY),
|
||||
# but make will happily consider the import library before it is refreshed
|
||||
# when rebuilding the corresponding shared library. Defining an empty recipe
|
||||
# for import libraries forces make to wait for the shared library recipe to
|
||||
# have run before considering other targets that depend on the import library.
|
||||
# See bug 795204.
|
||||
$(IMPORT_LIBRARY): $(SHARED_LIBRARY) ;
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),OS2)
|
||||
|
|
Загрузка…
Ссылка в новой задаче