diff options
| author | Max Riveiro | 2013-01-10 23:01:52 +0400 |
|---|---|---|
| committer | Charlie Sharpsteen | 2013-01-10 11:12:03 -0800 |
| commit | 665d6b707ceba10e410330bb10a046a21924e387 (patch) | |
| tree | e80c53b3efb3259441a8a64222ba90bb77c1d1d4 /Library/Formula/libuv.rb | |
| parent | b9712631d29bf8df30077f51d50864c858a03dfd (diff) | |
| download | homebrew-665d6b707ceba10e410330bb10a046a21924e387.tar.bz2 | |
libuv: Add universal option
Closes #16993.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/libuv.rb')
| -rw-r--r-- | Library/Formula/libuv.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/libuv.rb b/Library/Formula/libuv.rb index 01da5c51e..30ebfea9b 100644 --- a/Library/Formula/libuv.rb +++ b/Library/Formula/libuv.rb @@ -7,7 +7,11 @@ class Libuv < Formula head 'https://github.com/joyent/libuv.git', :branch => 'master' + option :universal + def install + ENV.universal_binary if build.universal? + system 'make', 'libuv.dylib' include.install Dir['include/*'] |
