From 744bb8fbcc77dcc84a25cbc9081b7d656631a901 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 26 Jan 2012 22:11:54 -0600 Subject: 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 --- Library/Formula/redis-tools.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') 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 -- cgit v1.2.3