[cmake-developers] FindRuby doesn't find 64-bit Ruby on Windows

Michael Smith michael.smith at puppetlabs.com
Fri Feb 6 21:10:37 EST 2015


On Fri, Feb 6, 2015 at 4:42 PM, Ben Boeckel <ben.boeckel at kitware.com> wrote:

> On Fri, Feb 06, 2015 at 15:00:50 -0800, Michael Smith wrote:
> > Non-prefixed names shouldn't be used for 64-bit architectures. The only
> > major releases with 64-bit support are 2.0.0 and 2.1.5, and both use the
> > x64- prefix. New patch attached.
>
> What about AArch64?
>

This only applies to finding libraries on Windows.


>
> > Follow-up question: Why doesn't FindRuby use Config::CONFIG['LIBRUBY'],
> > 'LIBRUBY_A', 'LIBRUBY_SO' to search for libs? Ruby reports the name of
> its
> > libraries.
>
> Doesn't work for cross-compiles.
>

FindRuby is already querying ruby for libdir. How does that work for
cross-compiles but using some of the other config doesn't?


>
> --Ben
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150206/861d8b7d/attachment-0001.html>


More information about the cmake-developers mailing list