aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/libebml.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Formula/libebml.rb b/Library/Formula/libebml.rb
index 1779da9ed..8186aabd8 100644
--- a/Library/Formula/libebml.rb
+++ b/Library/Formula/libebml.rb
@@ -7,7 +7,8 @@ class Libebml < Formula
md5 '726cc2bd1a525929ff35ff9854c0ebab'
def install
- system 'cp -r make/linux make/darwin'
- system "cd make/darwin && make install prefix=#{prefix}"
+ chdir 'make/linux' do
+ system "make install prefix=#{prefix} CXX=#{ENV.cxx}"
+ end
end
end