From 7bce818987f384b1402f572bb74c91828c373ad8 Mon Sep 17 00:00:00 2001 From: Nibbles 2bits Date: Fri, 17 Feb 2012 15:26:06 -0800 Subject: gtk: fix compilatione error with XCode 4.3/CLT Add the flag --disable-visibility to configure, fixes compile errors with Clang and llvm from CLT-4.3. That flag means don't use ELF visibility attributes. Fixes #10283. Closes #10287. Signed-off-by: Jack Nagel --- Library/Formula/gtk+.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula/gtk+.rb') diff --git a/Library/Formula/gtk+.rb b/Library/Formula/gtk+.rb index dbf54d208..06e400ab7 100644 --- a/Library/Formula/gtk+.rb +++ b/Library/Formula/gtk+.rb @@ -22,7 +22,8 @@ class Gtkx < Formula "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-glibtest", - "--disable-introspection" + "--disable-introspection", + "--disable-visibility" system "make install" end -- cgit v1.2.3