From cc26fd52c9b753ca5ea52ff6b6707e40526480bf Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 17 Sep 2009 20:10:15 +0100 Subject: [PATCH] Fixes glib It compiles, but I am not sure this is safe frankly. The problem is that the OS X iconv is bugged and doesn't have a 64 bit symbol for libiconv_open. Now we must build 64 bit as otherwise everything that links to iconv must be 32 bit too. So we build a static libiconv and link glib to that. This fills in the missing symbol. However glib still dynamically links to /usr/lib/libiconv.dylib, this is the bit I'm not happy with. It can be fixed but I'm guessing it's ok. At least at this stage of Homebrew. --- Formula/glib.rb | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Formula/glib.rb b/Formula/glib.rb index 9befe40c122..dd7f26dfb6d 100644 --- a/Formula/glib.rb +++ b/Formula/glib.rb @@ -1,5 +1,12 @@ require 'brewkit' +class Libiconv