aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wxmac.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/wxmac.rb b/Library/Formula/wxmac.rb
index c7d55af62..dece81337 100644
--- a/Library/Formula/wxmac.rb
+++ b/Library/Formula/wxmac.rb
@@ -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