diff options
| author | Jack Nagel | 2012-01-26 22:11:54 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-01-26 22:13:09 -0600 |
| commit | 744bb8fbcc77dcc84a25cbc9081b7d656631a901 (patch) | |
| tree | d9d25192aade40064dd8787da044ee5c06b310ad /Library/Formula | |
| parent | 1a6f356bcfbbb9f4277bf6716b95e763d425ec63 (diff) | |
| download | homebrew-744bb8fbcc77dcc84a25cbc9081b7d656631a901.tar.bz2 | |
redis-tools: set arch explicity
Detection of the build arch is broken on 32-bit Snow Leopard; mirrors
the main redis formula.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/redis-tools.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/redis-tools.rb b/Library/Formula/redis-tools.rb index a0a84059a..d3cfc4657 100644 --- a/Library/Formula/redis-tools.rb +++ b/Library/Formula/redis-tools.rb @@ -5,6 +5,8 @@ class RedisTools < Formula homepage 'https://github.com/antirez/redis-tools' def install + # Architecture isn't detected correctly on 32bit Snow Leopard without help + ENV["OBJARCH"] = MacOS.prefer_64_bit? ? "-arch x86_64" : "-arch i386" system "make" bin.install ["redis-load", "redis-stat"] end |
