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

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

Date: Wed, 31 Dec 2014 22:19:16 +0100

To: Ludovic LANGE, notmuch@notmuchmail.org

Cc:

From: David Bremner


Ludovic LANGE <ll-notmuchmail@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@tethera.net

Thread: