icu4u - use -headerpad_max_install_names

This commit is contained in:
Adam Vandenberg committed 2010-07-28 12:32:40 -07:00
1 parent a45b7fdcc7
commit e326e9930a
1 file changed
+4 -3
+4 -3
View File
@@ -5,16 +5,17 @@ class Icu4c <Formula
@homepage='http://site.icu-project.org/'
@md5='10d1cdc843f8e047fc308ec49d3d0543'
@version = "4.3.1"
def patches
DATA
end
def keg_only?
"conflicts (see http://github.com/mxcl/homebrew/issues/#issue/167)."
"conflicts; see: http://github.com/mxcl/homebrew/issues/issue/167"
end
def install
ENV.append "LDFLAGS", "-headerpad_max_install_names"
config_flags = ["--prefix=#{prefix}", "--disable-samples", "--enable-static"]
config_flags << "--with-library-bits=64" if Hardware.is_64_bit? and MACOS_VERSION == 10.6
Dir.chdir "source" do
@@ -52,7 +53,7 @@ __END__
@@ -7058,11 +7058,8 @@
test ! -s conftest.err
} && test -s conftest.$ac_objext; then
- # Check for potential -arch flags. It is not universal unless
- # there are some -arch flags. Note that *ppc* also matches
- # ppc64. This check is also rather less than ideal.