mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
f23a7583e1
On a Fedora system (and maybe others) there is a wrapper script called i686-pc-mingw32-pkg-config. This script unsets the PKG_CONFIG_PATH variable and then sets the PKG_CONFIG_LIBDIR variable so that it won't pick up the native system .pc files. This breaks cross compiling in mingw-fetch-dependencies.sh because it ends up removing its attempts to set a local search path. To fix this, the mingw-fetch-dependencies script now generates its own wrapper script which instead sets PKG_CONFIG_LIBDIR to the local clutter-cross prefix and then runs the original pkg-config program from the search path. This should have the same benefit of preventing it from finding native system .pc files on systems that don't provide a cross pkg-config. The cross compiling for json-glib and the recommend args to pass to configure when building clutter are updated to set the PKG_CONFIG varible to point to this wrapper script. |
||
---|---|---|
.. | ||
Makefile.am | ||
mingw-fetch-dependencies.sh | ||
README |
The mingw-fetch-dependencies.sh script in this directory automates fetching of the depndencies required to cross compile Clutter using the MinGW compiler. For a description of how to use it, see: http://wiki.clutter-project.org/wiki/BuildingClutterOnWindows