libsbol: fix test linking

Closes #41571.

Signed-off-by: Thierry Moisan <thierry.moisan@gmail.com>
This commit is contained in:
Steven Peters 2019-07-10 15:30:15 -07:00 committed by Thierry Moisan
parent 6c133811ba
commit 69962892cf
No known key found for this signature in database
GPG key ID: A9A4CB593D38CDD0

View file

@ -41,8 +41,10 @@ class Libsbol < Formula
system ENV.cxx, "test.cpp", "-o", "test", "-std=c++11",
"-I/System/Library/Frameworks/Python.framework/Headers",
"-I#{Formula["raptor"].opt_include}/raptor2",
"-I#{include}", "-L#{lib}", "-ljsoncpp", "-lcurl",
"-lraptor2", "-lsbol"
"-I#{include}", "-L#{lib}",
"-L#{Formula["jsoncpp"].opt_lib}",
"-L#{Formula["raptor"].opt_lib}",
"-ljsoncpp", "-lcurl", "-lraptor2", "-lsbol"
system "./test"
end
end