diff options
| author | David Bremner <david@tethera.net> | 2015-06-01 09:09:01 +0200 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2015-06-14 08:23:55 +0200 |
| commit | 233b5528cd405de0e0d8c7b3f5d7729614bee8aa (patch) | |
| tree | 69e75ea1c1238de2e49c240e90ba088d8ff68f3c /bindings/Makefile.local | |
| parent | 53035dafe060f6832909ad54e48277c8d3bd2d1b (diff) | |
build/ruby: use notmuch configure script values for shared lib
This is supposed to help build on systems like MacOS with different
conventions for naming shared libraries. We have already computed the
relevant names, so doing it again in ruby seems like a bad idea.
Diffstat (limited to 'bindings/Makefile.local')
| -rw-r--r-- | bindings/Makefile.local | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/Makefile.local b/bindings/Makefile.local index d236f014..4ecf839d 100644 --- a/bindings/Makefile.local +++ b/bindings/Makefile.local @@ -3,10 +3,11 @@ dir := bindings # force the shared library to be built -ruby-bindings: lib/libnotmuch.so +ruby-bindings: lib/$(LINKER_NAME) ifeq ($(HAVE_RUBY_DEV),1) cd $(dir)/ruby && \ EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \ + LIBNOTMUCH="../../lib/$(LINKER_NAME)" \ ruby extconf.rb --vendor $(MAKE) -C $(dir)/ruby else |
