The tool generate-gtkdoc internally calls pkg-config. When cross-compiling it shouldn't use pkg-config, but it should use the pkg-config which was detected by the ./configure script (for example this can be i686-w64-mingw32-pkg-config when cross-compiling)
Created attachment 203627 [details] Proposed patch
Comment on attachment 203627 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=203627&action=review > Tools/gtk/gtkdoc.py:402 > + if os.environ.get('PKG_CONFIG'): > + pkg_config = os.environ['PKG_CONFIG'] > + else: > + pkg_config = 'pkg-config' Can be simplified into: pkg_config = os.environ.get('PKG_CONFIG', 'pkg-config') http://docs.python.org/2/library/stdtypes.html#dict.get
Created attachment 203628 [details] Proposed patch (try2) Simplified the python code
Comment on attachment 203628 [details] Proposed patch (try2) Clearing flags on attachment: 203628 Committed r151135: <http://trac.webkit.org/changeset/151135>
All reviewed patches have been landed. Closing bug.