libbitcoin-node: fix test
This commit is contained in:
parent
cf650fa9c2
commit
f4491370fc
1 changed files with 4 additions and 4 deletions
|
@ -42,10 +42,10 @@ class LibbitcoinNode < Formula
|
|||
return 0;
|
||||
}
|
||||
EOS
|
||||
system ENV.cxx, "-std=c++11", "test.cpp",
|
||||
"-I#{libexec}/include",
|
||||
"-lbitcoin", "-lbitcoin-node", "-lboost_system",
|
||||
"-o", "test"
|
||||
system ENV.cxx, "-std=c++11", "test.cpp", "-o", "test",
|
||||
"-L#{Formula["libbitcoin"].opt_lib}", "-lbitcoin",
|
||||
"-L#{lib}", "-lbitcoin-node",
|
||||
"-L#{Formula["boost"].opt_lib}", "-lboost_system"
|
||||
system "./test"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue