From 69962892cf425b5671ca95899af8abffa8809d9f Mon Sep 17 00:00:00 2001 From: Steven Peters Date: Wed, 10 Jul 2019 15:30:15 -0700 Subject: [PATCH] libsbol: fix test linking Closes #41571. Signed-off-by: Thierry Moisan --- Formula/libsbol.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Formula/libsbol.rb b/Formula/libsbol.rb index cba738f316..2ed85e4b2a 100644 --- a/Formula/libsbol.rb +++ b/Formula/libsbol.rb @@ -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