From: Jani Nikula Date: Sun, 10 Sep 2017 11:56:16 +0000 (+0300) Subject: build: fix out-of-tree builds, again X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb29e26a99389c0ec8504e746fad01fdbeafff7f;p=notmuch.git build: fix out-of-tree builds, again Broken, again, by yours truly in bc11759dd1fd ("build: switch to hiding libnotmuch symbols by default"). Reference notmuch.sym via $(srctree). --- diff --git a/lib/Makefile.local b/lib/Makefile.local index 93b08d15..8aa03891 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -19,7 +19,7 @@ LIBRARY_SUFFIX = so LINKER_NAME = libnotmuch.$(LIBRARY_SUFFIX) SONAME = $(LINKER_NAME).$(LIBNOTMUCH_VERSION_MAJOR) LIBNAME = $(SONAME).$(LIBNOTMUCH_VERSION_MINOR).$(LIBNOTMUCH_VERSION_RELEASE) -LIBRARY_LINK_FLAG = -shared -Wl,--version-script=$(lib)/notmuch.sym,-soname=$(SONAME) $(NO_UNDEFINED_LDFLAGS) +LIBRARY_LINK_FLAG = -shared -Wl,--version-script=$(srcdir)/$(lib)/notmuch.sym,-soname=$(SONAME) $(NO_UNDEFINED_LDFLAGS) ifeq ($(PLATFORM),OPENBSD) LIBRARY_LINK_FLAG += -lc endif