libsbol: fix test linking
Closes #41571. Signed-off-by: Thierry Moisan <thierry.moisan@gmail.com>
This commit is contained in:
parent
6c133811ba
commit
69962892cf
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue