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 Homebrew/homebrew#10283. Closes Homebrew/homebrew#10287. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
715d14b068
commit
3bf7c75ef3
1 changed files with 2 additions and 1 deletions
|
@ -22,7 +22,8 @@ class Gtkx < Formula
|
||||||
"--disable-dependency-tracking",
|
"--disable-dependency-tracking",
|
||||||
"--prefix=#{prefix}",
|
"--prefix=#{prefix}",
|
||||||
"--disable-glibtest",
|
"--disable-glibtest",
|
||||||
"--disable-introspection"
|
"--disable-introspection",
|
||||||
|
"--disable-visibility"
|
||||||
system "make install"
|
system "make install"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue