mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 19:08:09 +01:00
Link libutil using filenmae, rather than using -l.
glibc includes a libutil, so if the wrong -L options get passed, we will pick up glibc's version, rather than our own.
This commit is contained in:
parent
cb7270b27a
commit
74f16571e8
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ $(dir)/libnotmuch.a: $(libnotmuch_modules)
|
||||||
$(call quiet,AR) rcs $@ $^
|
$(call quiet,AR) rcs $@ $^
|
||||||
|
|
||||||
$(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
|
$(dir)/$(LIBNAME): $(libnotmuch_modules) notmuch.sym
|
||||||
$(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ -L$(srcdir)/util -lutil
|
$(call quiet,CXX $(CXXFLAGS)) $(libnotmuch_modules) $(FINAL_LIBNOTMUCH_LDFLAGS) $(LIBRARY_LINK_FLAG) -o $@ util/libutil.a
|
||||||
|
|
||||||
notmuch.sym: $(srcdir)/$(dir)/notmuch.h $(libnotmuch_modules)
|
notmuch.sym: $(srcdir)/$(dir)/notmuch.h $(libnotmuch_modules)
|
||||||
sh $(srcdir)/$(lib)/gen-version-script.sh $< $(libnotmuch_modules) > $@
|
sh $(srcdir)/$(lib)/gen-version-script.sh $< $(libnotmuch_modules) > $@
|
||||||
|
|
Loading…
Reference in a new issue