aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim Bellefleur2014-09-27 13:34:23 -0500
committerJack Nagel2014-09-27 13:41:21 -0500
commit0f4d56dde3c65628e5b9283ad8744c5484b9f1aa (patch)
treed997094aba98b2b6d6a6de97a468f3df5d96b88e /Library
parent46707b5def87eb86f0c1a41cc44f2e1da621165d (diff)
downloadhomebrew-0f4d56dde3c65628e5b9283ad8744c5484b9f1aa.tar.bz2
openal-soft: add universal option
Useful for projects like mono (and monogame-sdl2) which are typically x86. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/openal-soft.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/openal-soft.rb b/Library/Formula/openal-soft.rb
index e50b36d22..9bac676eb 100644
--- a/Library/Formula/openal-soft.rb
+++ b/Library/Formula/openal-soft.rb
@@ -8,9 +8,12 @@ class OpenalSoft < Formula
bottle do
end
+ option :universal
+
depends_on "cmake" => :build
def install
+ ENV.universal_binary if build.universal?
system "cmake", ".", *std_cmake_args
system "make", "install"
end