aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/octave.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Formula/octave.rb b/Library/Formula/octave.rb
index 459c03ced..40e20950f 100644
--- a/Library/Formula/octave.rb
+++ b/Library/Formula/octave.rb
@@ -74,7 +74,9 @@ class Octave < Formula
args = [
"--disable-dependency-tracking",
"--prefix=#{prefix}",
- "--with-blas=#{'-ldotwrp ' if snow_leopard_64?}-framework Accelerate"
+ # Cant use `-framework Accelerate` because `mkoctfile`, the tool used to
+ # compile extension packages, can't parse `-framework` flags.
+ "--with-blas=#{'-ldotwrp ' if snow_leopard_64?}-Wl,-framework -Wl,Accelerate"
]
args << "--without-framework-carbon" if MacOS.lion?