wxmac: fix building for Lion
Closes Homebrew/homebrew#8378. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>master
parent
fbead76fec
commit
2a9d3619e5
|
@ -82,9 +82,20 @@ class Wxmac < Formula
|
||||||
ENV.append compiler_flag, "-arch i386"
|
ENV.append compiler_flag, "-arch i386"
|
||||||
end
|
end
|
||||||
|
|
||||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
args = [
|
||||||
"--prefix=#{prefix}",
|
"--disable-debug",
|
||||||
"--enable-unicode"
|
"--disable-dependency-tracking",
|
||||||
|
"--prefix=#{prefix}",
|
||||||
|
"--enable-unicode"
|
||||||
|
]
|
||||||
|
|
||||||
|
# build will fail on Lion unless we use the 10.6 sdk
|
||||||
|
if MacOS.lion?
|
||||||
|
args << "--with-macosx-sdk=/Developer/SDKs/MacOSX10.6.sdk"
|
||||||
|
args << "--with-macosx-version-min=10.6"
|
||||||
|
end
|
||||||
|
|
||||||
|
system "./configure", *args
|
||||||
system "make install"
|
system "make install"
|
||||||
|
|
||||||
if build_python?
|
if build_python?
|
||||||
|
|
Loading…
Reference in New Issue