Document failure to build internal glib as OS X universal binary

GLib out of the box does not support being built for multiple arches.
This means pkg-config using the internal glib can't be built as a
universal binary on OS X. Document this and available workarounds.

Freedesktop #52032
This commit is contained in:
Dan Nicholson 2012-08-14 16:39:47 -07:00
parent 7178b2e041
commit a870b63b31

8
README
View file

@ -51,3 +51,11 @@ need to run a program to determine the correct value. See the glib
documentation:
http://developer.gnome.org/glib/stable/glib-cross-compiling.html
If you need to use the bundled glib on Mac OS X, you'll most likely need
to build for a single architecture rather than as a universal binary.
This is because glib (as of version 2.32) does not support building for
multiple architectures out of the box. The glib2 from MacPorts or
Homebrew may be available as a universal binary and usable for
pkg-config as described above. Nothing in pkg-config itself precludes
being built as a universal binary.