aboutsummaryrefslogtreecommitdiff
path: root/bindings/ruby/extconf.rb
AgeCommit message (Collapse)Author
2025-03-01ruby: trivial build cleanupFelipe Contreras
2025-03-01ruby: use proper talloc flagsFelipe Contreras
This way talloc doesn't need to be installed in /usr.
2025-03-01ruby: simplify buildFelipe Contreras
We can just always add EXTRA_INCFLAGS and EXTRA_LDFLAGS.
2021-07-18ruby: enable garbage collection using tallocFelipe Contreras
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>
2017-03-12fix out of tree buildTomi Ollila
In addition to use ${srcdir} and deliver ${NOTMUCH_SRCDIR} where needed, source from ruby bindings had to be copied to the out-of-tree target directory -- if the source files in source directory were referenced in build and there were also built object files there, those could have been considered as target files (and then not found when attempting to create bindings/ruby/notmuch.so).
2015-06-14build/ruby: use notmuch configure script values for shared libDavid Bremner
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.
2015-06-13lib, ruby: make use of -Wl,--no-undefined configurableDavid Bremner
In particular this is supposed to help build on systems (presumably using a non-gnu ld) where this flag is not available.
2013-05-23ruby: use in-tree notmuch libraryFelipe Contreras
Currently it simply finds any library available, and if notmuch is installed in the system, it would give priority to that library. Let's implement our own helper functions to link directly to the local library, and give priority to the local header file. Also, add an option to properly check if there are missing symbols. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-05-25Revert "ruby: Add workarounds to use in-tree build not the installed one"Felipe Contreras
This reverts commit 82b73ffd7380b85d259eeb91100dd6ac2d14223a. Only leave the copyright changes. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2012-05-08ruby: Add workarounds to use in-tree build not the installed oneAli Polatel
- Make mkmf use the notmuch.h under ../../lib - Use libnotmuch.a instead of linking to the installed libnotmuch.so
2011-10-04ruby: be consistent with notmuch's coding styleAli Polatel
No functional change, just indentation
2010-06-06Initial ruby bindingsAli Polatel