X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2FMakefile.local;h=9210f0e543f814392f3038777b76a948c5cfe2a5;hb=a900ddaba661d693764d1a5f58f8b946bb788c4a;hp=fe429207c2d482c01b150093d227e525323f0c6c;hpb=f4dae4e5a199c843cfe139f1c1496eac3e1d120e;p=notmuch diff --git a/lib/Makefile.local b/lib/Makefile.local index fe429207..9210f0e5 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -75,9 +75,7 @@ $(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym $(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ notmuch.sym: lib/notmuch.h - printf "{\nglobal:\n" > notmuch.sym - sed -n 's/^\s*\(notmuch_[a-z_]*\)\s*(.*/\t\1;/p' $< >> notmuch.sym - printf "local: *;\n};\n" >> notmuch.sym + sh lib/gen-version-script.sh $< $(libnotmuch_modules) > $@ $(dir)/$(SONAME): $(dir)/$(LIBNAME) ln -sf $(LIBNAME) $@