diff --git a/Formula/wxmac.rb b/Formula/wxmac.rb index e8225c2a52..aa30c0022a 100644 --- a/Formula/wxmac.rb +++ b/Formula/wxmac.rb @@ -16,6 +16,8 @@ class Wxmac < Formula depends_on "libpng" depends_on "libtiff" + option "with-stl", "use standard C++ classes for everything" + # Various fixes related to Yosemite. Revisit in next stable release. # Please keep an eye on http://trac.wxwidgets.org/ticket/16329 as well # Theoretically the above linked patch should still be needed, but it isn't. Try to find out why. @@ -67,6 +69,8 @@ class Wxmac < Formula "--disable-monolithic" ] + args << "--enable-stl" if build.with? "stl" + system "./configure", *args system "make", "install" end