From 8d730004192f16858f44e2711d7cd06f29a899ce Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Thu, 23 May 2013 19:20:52 -0500 Subject: ld64: force 32-bit on Leopard --- Library/Formula/ld64.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Formula/ld64.rb b/Library/Formula/ld64.rb index 1ee19c05f..4d35cb9a9 100644 --- a/Library/Formula/ld64.rb +++ b/Library/Formula/ld64.rb @@ -37,6 +37,9 @@ class Ld64 < Formula end def install + # ld64 itself can't build 64-bit on Leopard, and may be needed to link any 64-bit software + ENV.m32 if MacOS.version == :leopard + File.open('Makefile', 'w') {|f| f.write DATA.read} inreplace 'src/ld/Options.cpp', '@@VERSION@@', version -- cgit v1.2.3