diff options
| author | Tim Bellefleur | 2014-09-27 13:34:23 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-27 13:41:21 -0500 |
| commit | 0f4d56dde3c65628e5b9283ad8744c5484b9f1aa (patch) | |
| tree | d997094aba98b2b6d6a6de97a468f3df5d96b88e /Library | |
| parent | 46707b5def87eb86f0c1a41cc44f2e1da621165d (diff) | |
| download | homebrew-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.rb | 3 |
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 |
