[PATCH] ruby: allow bindings to compile on Mac OS X

David Bremner david at tethera.net
Wed Dec 31 13:19:16 PST 2014


Ludovic LANGE <ll-notmuchmail at lange.nom.fr> writes:

> On OS X, the library ends with .dylib (instead of .so). I also added
> the .dll handling in any case.
> Also, the flags '-Wl,--no-undefined' seems not accepted, so I excluded
> them on OS X (only)

It occurs to me that if we build the ruby bindings as part of the main
build then the dependencies of the main makefile will force the library
to exist, and we can eliminate the special casing here.

The flags I'm less sure about. I guess they are gcc specific. Ideally
this seems like the kind of configuration that should happen in the top
level configuration.

[1]: id:1419971380-10307-2-git-send-email-david at tethera.net


More information about the notmuch mailing list