diff options
author | Thomas Jost <schnouki@schnouki.net> | 2011-07-21 01:31:37 +0200 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-07-20 21:42:35 -0300 |
commit | 1c71d943cb89032f444143dc988d2957766089f0 (patch) | |
tree | d4403f8095eaea45c5ca37e4f8c6f777a040834c | |
parent | a900ddaba661d693764d1a5f58f8b946bb788c4a (diff) |
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.
-rw-r--r-- | lib/Makefile.local | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.local b/lib/Makefile.local index 9210f0e..fbc2f6a 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -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) |