wxmac: don't use explicit sdk path argument on 10.9

This commit is contained in:
Jack Nagel 2014-05-26 22:32:14 -05:00
parent c996a4af7d
commit 6dd8af52b9

View file

@ -57,13 +57,14 @@ class Wxmac < Formula
"--enable-dataviewctrl",
"--with-expat",
"--with-macosx-version-min=#{MacOS.version}",
"--with-macosx-sdk=#{MacOS.sdk_path}",
"--enable-universal_binary=#{Hardware::CPU.universal_archs.join(',')}",
"--disable-precomp-headers",
# This is the default option, but be explicit
"--disable-monolithic"
]
args << "--with-macosx-sdk=#{MacOS.sdk_path}" unless MacOS.version >= "10.9"
system "./configure", *args
system "make install"
end