GNOME Bugzilla – Bug 603653
Require libffi.pc
Last modified: 2015-02-07 16:45:43 UTC
We use it for girffi.h. Remove the code to detect libffi without the .pc file. If you don't have it, get it.
Created attachment 148971 [details] [review] Require libffi.pc
Comment on attachment 148971 [details] [review] Require libffi.pc Probably a good idea to kill the #ifdefs and makefile logic as well.
Attachment 148971 [details] pushed as 494c1c9 - Require libffi.pc
I reverted this patch for two reasons: * It breaks Ubuntu Hardy which we use for litl, it'll make it harder for us to track upstream as the the libffi package in hard lacks a .pc file. * Stefan Kost pointed out that it breaks Suse 11.2, which ships a ffi package based on the version included in gcc which lacks a .pc file. I also think that there are no .pc files included in the Mac OS X version Which means that we have to live with that check for a little longer.
I filed a bug for gcc - they seemed to forgot then pc-file when importing the sources http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42275
Created attachment 149086 [details] [review] Add ffi cflags/libs/requires to exported .pc This is required as external projects such as gjs is now using girffi and thus needs the ffi cflags to be able to link.
The following fix has been pushed: bf393f0 Add ffi cflags/libs/requires to exported .pc
Created attachment 149089 [details] [review] Add ffi cflags/libs/requires to exported .pc This is required as external projects such as gjs are now using girffi and thus need the ffi cflags to be able to link.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]