On Wed, 08 Aug 2012 14:16:54 +1000, Ankur Sinha wrote:
Hi folks,
I always thought that headers go into %{_includedir}. Can someone please
clarify if this is really a bug or not?
https://bugzilla.redhat.com/show_bug.cgi?id=727301
It's a bug in the same way it would be a bug if the headers were stored
below %_bindir, %_mandir, %_sysconfdir or dirs other than %_includedir.
It may be worth a shot to contact libffi upstream about that unless
it's just the Fedora package that uses %_libdir for the headers.
[The comment about pkg-config --cflags is ridiculous. Sure, that command
can be used to retrieve the include path options, and without pkg-config
it would be difficult to _guess_ the versioned subdir, but nevertheless
headers don't belong into %_libdir.]
--
Fedora release 17 (Beefy Miracle) - Linux 3.5.0-2.fc17.x86_64
loadavg: 0.14 0.29 0.21