wxmac: --without-mediactrl on 64-bit machines.

Users of tools that fail when trying to link non-existent frameworks
run into problems on 64-bit macs, because the old 32-bit QuickTime
framework does not and never will exist as a 64 bit library.

This has been submitted upstream and accepted into wxmac HEAD, however
a released version is not yet available and won't be for quite some
time.

This patch lets us actually get code to compile without waiting 8
months for a release.

Closes Homebrew/homebrew#34543.
Closes Homebrew/homebrew#33366.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Edward Kmett 2014-11-28 23:27:27 -05:00 committed by Mike McQuaid
parent 8cca19b3da
commit 94eea46fc8

View file

@ -52,7 +52,10 @@ class Wxmac < Formula
"--enable-clipboard",
"--enable-webkit",
"--enable-svg",
"--enable-mediactrl",
# On 64-bit, enabling mediactrl leads to wxconfig trying to pull
# in a non-existent 64 bit QuickTime framework. This is submitted
# upstream and will eventually be fixed, but for now...
MacOS.prefer_64_bit? ? "--disable-mediactrl" : "--enable-mediactrl",
"--enable-graphics_ctx",
"--enable-controls",
"--enable-dataviewctrl",