libbitcoin-protocol: fix test

This commit is contained in:
FX Coudert 2018-11-06 10:33:53 +01:00
parent 31448b3325
commit ce441046f0

View file

@ -39,9 +39,10 @@ class LibbitcoinProtocol < Formula
assert(instance.size() == 1u);
}
EOS
system ENV.cxx, "-std=c++11", "test.cpp",
"-lbitcoin", "-lbitcoin-protocol", "-lboost_system",
"-o", "test"
system ENV.cxx, "-std=c++11", "test.cpp", "-o", "test",
"-L#{Formula["libbitcoin"].opt_lib}", "-lbitcoin",
"-L#{lib}", "-lbitcoin-protocol",
"-L#{Formula["boost"].opt_lib}", "-lboost_system"
system "./test"
end
end