nspr - fix for Leopard
This commit is contained in:
parent
bf3dcc98f9
commit
3b5b13a9ea
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class Nspr <Formula
|
|||
Dir.chdir "mozilla/nsprpub" do
|
||||
# Fixes a bug with linking against CoreFoundation, needed to work with SpiderMonkey
|
||||
# See: http://openradar.appspot.com/7209349
|
||||
target_frameworks = Hardware.is_32_bit? ? "-framework Carbon" : ""
|
||||
target_frameworks = (Hardware.is_32_bit? or MACOS_VERSION == 10.5) ? "-framework Carbon" : ""
|
||||
inreplace "pr/src/Makefile.in", "-framework CoreServices -framework CoreFoundation", target_frameworks
|
||||
|
||||
args = ["--prefix=#{prefix}", "--disable-debug", "--enable-strip", "--enable-optimize"]
|
||||
|
|
Loading…
Reference in a new issue