mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 21:54:10 +01:00
Don't link libnotmuch if libutil isn't linked in properly.
For some reason, on my machine, the link is picking up /usr/lib/libutil.so instead of util/libutil.a. This causes there to be undefined symbols in libnotmuch, making it unuseable. This patch causes the link to fail instead.
This commit is contained in:
parent
418e098eed
commit
dbceb50f47
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ LIBRARY_SUFFIX = so
|
||||||
LINKER_NAME = libnotmuch.$(LIBRARY_SUFFIX)
|
LINKER_NAME = libnotmuch.$(LIBRARY_SUFFIX)
|
||||||
SONAME = $(LINKER_NAME).$(LIBNOTMUCH_VERSION_MAJOR)
|
SONAME = $(LINKER_NAME).$(LIBNOTMUCH_VERSION_MAJOR)
|
||||||
LIBNAME = $(SONAME).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE)
|
LIBNAME = $(SONAME).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE)
|
||||||
LIBRARY_LINK_FLAG = -shared -Wl,--version-script=notmuch.sym,-soname=$(SONAME)
|
LIBRARY_LINK_FLAG = -shared -Wl,--version-script=notmuch.sym,-soname=$(SONAME) -Wl,--no-undefined
|
||||||
ifeq ($(LIBDIR_IN_LDCONFIG),1)
|
ifeq ($(LIBDIR_IN_LDCONFIG),1)
|
||||||
ifeq ($(DESTDIR),)
|
ifeq ($(DESTDIR),)
|
||||||
LIBRARY_INSTALL_POST_COMMAND=ldconfig
|
LIBRARY_INSTALL_POST_COMMAND=ldconfig
|
||||||
|
|
Loading…
Reference in a new issue