diff options
| author | Felipe Contreras <felipe.contreras@gmail.com> | 2021-05-17 14:39:15 -0500 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2021-07-18 17:08:53 -0300 |
| commit | 1a7f9fe055fb40b9646bb8efac107601009723bd (patch) | |
| tree | d404fe8d5c7fe92c18db56f63a2a53ab1ea6d76f /bindings/ruby/extconf.rb | |
| parent | 02b162116079a0b2e35823e5590a82056d22c8af (diff) | |
ruby: enable garbage collection using talloc
We basically steal all the objects from their notmuch parents, therefore
they are completely under Ruby's gc control.
The order at which these objects are freed does not matter any more,
because destroying the database does not destroy all the children
objects, since they belong to Ruby now.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Diffstat (limited to 'bindings/ruby/extconf.rb')
| -rw-r--r-- | bindings/ruby/extconf.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/ruby/extconf.rb b/bindings/ruby/extconf.rb index 161de5a2..d914537c 100644 --- a/bindings/ruby/extconf.rb +++ b/bindings/ruby/extconf.rb @@ -19,6 +19,7 @@ if not ENV['LIBNOTMUCH'] end $LOCAL_LIBS += ENV['LIBNOTMUCH'] +$LIBS += " -ltalloc" # Create Makefile dir_config('notmuch') |
