aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gtk+.rb
diff options
context:
space:
mode:
authorNibbles 2bits2012-02-17 15:26:06 -0800
committerJack Nagel2012-02-21 23:07:37 -0600
commit7bce818987f384b1402f572bb74c91828c373ad8 (patch)
treef6e623b1481e5ab527cee4a44008411531b535a4 /Library/Formula/gtk+.rb
parent1771fcacb77fddae2a0207357a0c129296fd9126 (diff)
downloadhomebrew-7bce818987f384b1402f572bb74c91828c373ad8.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/gtk+.rb')
-rw-r--r--Library/Formula/gtk+.rb3
1 files changed, 2 insertions, 1 deletions
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