From: Felipe Contreras Date: Thu, 2 Jan 2025 01:39:35 +0000 (-0600) Subject: ruby: use proper talloc flags X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=e78e093330dff7cf85b2cf69314ea47c3dfb1080;p=notmuch ruby: use proper talloc flags This way talloc doesn't need to be installed in /usr. --- diff --git a/bindings/Makefile.local b/bindings/Makefile.local index eb932613..72fe9850 100644 --- a/bindings/Makefile.local +++ b/bindings/Makefile.local @@ -8,8 +8,8 @@ ruby-bindings: $(dir)/ruby.stamp $(dir)/ruby.stamp: lib/$(LINKER_NAME) ifeq ($(HAVE_RUBY_DEV),1) cd $(dir)/ruby && \ - EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS)" \ - EXTRA_INCFLAGS="-I$(NOTMUCH_SRCDIR)/lib" \ + EXTRA_LDFLAGS="$(NO_UNDEFINED_LDFLAGS) $(TALLOC_LDFLAGS)" \ + EXTRA_INCFLAGS="-I$(NOTMUCH_SRCDIR)/lib $(TALLOC_CFLAGS)" \ LIBNOTMUCH="../../lib/$(LINKER_NAME)" \ $(RUBY) extconf.rb --vendor $(MAKE) -C $(dir)/ruby CFLAGS="$(CFLAGS) -pipe -fno-plt -fPIC" && touch $@ diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb index 7cec711f..b6115688 100644 --- a/bindings/ruby/extconf.rb +++ b/bindings/ruby/extconf.rb @@ -13,7 +13,6 @@ if not ENV['LIBNOTMUCH'] end $LOCAL_LIBS += ENV['LIBNOTMUCH'] -$LIBS += " -ltalloc" # Create Makefile dir_config('notmuch')