swig@3.04: fix test
This commit is contained in:
parent
f3544543a3
commit
146a9c40f9
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class SwigAT304 < Formula
|
|||
EOS
|
||||
system "#{bin}/swig", "-ruby", "test.i"
|
||||
system ENV.cc, "-c", "test.c"
|
||||
system ENV.cc, "-c", "test_wrap.c", "-I/System/Library/Frameworks/Ruby.framework/Headers/"
|
||||
system ENV.cc, "-c", "test_wrap.c", "-I#{MacOS.sdk_path}/System/Library/Frameworks/Ruby.framework/Headers/"
|
||||
system ENV.cc, "-bundle", "-flat_namespace", "-undefined", "suppress", "test.o", "test_wrap.o", "-o", "test.bundle"
|
||||
assert_equal "2", shell_output("/usr/bin/ruby run.rb").strip
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue