[PATCH] Use $CFLAGS to calculate multi_os_directory in configure.ac.
Anthony Green
green@moxielogic.com
Mon Mar 3 14:10:00 GMT 2014
Samuli Suominen <ssuominen@gentoo.org> writes:
> On 03/03/14 14:56, Dominik Vogt wrote:
>> While we're talking about installations paths: "make istall"
>> should really install ffi.h to <prefix>/include/libffi... and not
>> to <prefix>/lib/libffi.../include. It doen't respect --installdir=
>> either.
>>
>> Ciao
>>
>> Dominik ^_^ ^_^
>>
>
> The headers are arch specific and belong to libdir. The use of
> pkg-config is mandatory:
>
This is true. However, I'd like it to change. We should be able to
install the headers in /usr/include through careful use of compiler
defined macros. I got most of the way through this change last year
when I hit the Power port. The Power port is complex thanks to the wide
variety of targets and compilers we support (multiple flavours of AIX,
Darwin and Linux, each with their own compilers).
I can try this again for 3.0.15 (or 4?) on a git branch if I can get
some support on the Power side of things. Volunteers?
AG
More information about the Libffi-discuss
mailing list