Headers installation into libdir?

Samuli Suominen ssuominen@gentoo.org
Sat Jul 3 16:49:00 GMT 2010


On 07/03/2010 07:26 PM, Luis Lavena wrote:
> Hello,
> 
> I was wondering why libffi 3.0.9 and current master (in GitHub) both
> install ffi.h and ffitarget.h into libdir/libffi-X.Y.Z/include
> directory?
> 
> I believe that specific behavior is not good for packagers or users
> trying to install libffi for normal usage.
> 
> Please find attached a patch against master that corrects this behavior.
> 
> Thank you.

It's because the headers are archtype specific, libdir is the correct
place for them, use pkg-config in your projects, like `pkg-config
--cflags libffi` to get the include dir

(btw, I also replied to you off-list before this reply by accident)



More information about the Libffi-discuss mailing list