From cc2f67d8405c2f4a50407648071dd0357f76ba4f Mon Sep 17 00:00:00 2001 From: Charlie Sharpsteen Date: Sun, 13 May 2012 20:41:37 -0700 Subject: Octave: Adjust BLAS linker flags The `mkoctfile` tool, used to compile Octave packages, does not understand `-framework `. Therefore, `-Wl,-framework -Wl,` must be used. Fixes #12229. --- Library/Formula/octave.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library') 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? -- cgit v1.2.3