GNOME Bugzilla – Bug 745247
web-extension: Pass the right .pc file to PKG_CHECK_MODULES
Last modified: 2015-02-27 18:32:54 UTC
Debarshi Ray noticed that we're not using webkit2gtk-web-extension-4.0.pc anywhere in our codebase. Indeed we're using webkit2gtk-4.0.pc to compute cflags and libs for the web extension, and it only works because the .pc files have nearly identical contents.
Created attachment 298022 [details] [review] web-extension: Pass the right .pc file to PKG_CHECK_MODULES We're using the UI process .pc file for the web extension, but did not notice because the contents of the .pc files are identical.
Review of attachment 298022 [details] [review]: Yes, because the library is the same, there used to be only one .pc file, but we added a specific one for the web extensions because vala bindings needed that (IIRC). Anyway, the patch looks good.
Attachment 298022 [details] pushed as cda7743 - web-extension: Pass the right .pc file to PKG_CHECK_MODULES