From 766775a23b6cdb4cbe37d1a4e52fadf2327eafcd Mon Sep 17 00:00:00 2001 From: FX Coudert Date: Mon, 6 Jan 2020 21:21:00 +0100 Subject: [PATCH] pbc-sig: fix test --- Formula/pbc-sig.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/pbc-sig.rb b/Formula/pbc-sig.rb index 602e413de42e..b1842438c875 100644 --- a/Formula/pbc-sig.rb +++ b/Formula/pbc-sig.rb @@ -43,7 +43,8 @@ def install return 0; } EOS - system ENV.cc, "test.c", "-o", "test", "-L#{lib}", "-lpbc", "-lpbc_sig" + system ENV.cc, "test.c", "-o", "test", "-L#{Formula["pbc"].lib}", + "-L#{lib}", "-lpbc", "-lpbc_sig" system "./test" end end