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 /bindings/Makefile.local | |
| 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 'bindings/Makefile.local')
| -rw-r--r-- | bindings/Makefile.local | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bindings/Makefile.local b/bindings/Makefile.local index 16817f5a..d236f014 100644 --- a/bindings/Makefile.local +++ b/bindings/Makefile.local @@ -5,7 +5,9 @@ dir := bindings # force the shared library to be built ruby-bindings: lib/libnotmuch.so ifeq ($(HAVE_RUBY_DEV),1) - cd $(dir)/ruby && ruby extconf.rb --vendor + cd $(dir)/ruby && \ + EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \ + ruby extconf.rb --vendor $(MAKE) -C $(dir)/ruby else @echo Missing dependency, skipping ruby bindings |
