mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
libnotmuch: only build symbols list after the modules are built
If the notmuch.sym target does not explicitly depend on $(libnotmuch_modules), gen-version-script.sh may be run before all the .o files are created, for example when doing a parallel build on a machine with many cores.
This commit is contained in:
parent
a900ddaba6
commit
1c71d943cb
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ $(dir)/libnotmuch.a: $(libnotmuch_modules)
|
|||
$(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
|
||||
$(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@
|
||||
|
||||
notmuch.sym: lib/notmuch.h
|
||||
notmuch.sym: lib/notmuch.h $(libnotmuch_modules)
|
||||
sh lib/gen-version-script.sh $< $(libnotmuch_modules) > $@
|
||||
|
||||
$(dir)/$(SONAME): $(dir)/$(LIBNAME)
|
||||
|
|
Loading…
Reference in a new issue