From a870b63b31b7ebe3a5a1b0ff6c678a06d03c4d94 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Tue, 14 Aug 2012 16:39:47 -0700 Subject: [PATCH] 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 --- README | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README b/README index e5e0a44..5a53aeb 100644 --- a/README +++ b/README @@ -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.