libbitcoin-network: fix test

This commit is contained in:
FX Coudert 2018-11-06 10:32:34 +01:00
parent 17e68d507a
commit 31448b3325

View file

@ -38,9 +38,10 @@ class LibbitcoinNetwork < Formula
return 0;
}
EOS
system ENV.cxx, "-std=c++11", "test.cpp",
"-lbitcoin", "-lbitcoin-network", "-lboost_system",
"-o", "test"
system ENV.cxx, "-std=c++11", "test.cpp", "-o", "test",
"-L#{Formula["libbitcoin"].opt_lib}", "-lbitcoin",
"-L#{lib}", "-lbitcoin-network",
"-L#{Formula["boost"].opt_lib}", "-lboost_system"
system "./test"
end
end