diff options
| author | David Bremner <david@tethera.net> | 2015-06-01 09:09:00 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-06-13 17:52:48 +0200 |
| commit | 53035dafe060f6832909ad54e48277c8d3bd2d1b (patch) | |
| tree | d8f2df496253eefef0be0020a5174d6f201bb2d4 /lib | |
| parent | 4e799034492ca28d65385afc94a35461fe25b426 (diff) | |
lib, ruby: make use of -Wl,--no-undefined configurable
In particular this is supposed to help build on systems (presumably
using a non-gnu ld) where this flag is not available.
Diffstat (limited to 'lib')
| -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 f9ecd50e..b58b4e8a 100644 --- a/lib/Makefile.local +++ b/lib/Makefile.local @@ -33,7 +33,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=notmuch.sym,-soname=$(SONAME) -Wl,--no-undefined +LIBRARY_LINK_FLAG = -shared -Wl,--version-script=notmuch.sym,-soname=$(SONAME) $(NO_UNDEFINED_LDFLAGS) ifeq ($(PLATFORM),OPENBSD) LIBRARY_LINK_FLAG += -lc endif |
