unicorn: fix test on 10.13

no /usr/local/lib for you
This commit is contained in:
ilovezfs 2017-07-04 15:54:13 -07:00
parent 0ec07e39b6
commit 530d9be3d6

View file

@ -81,7 +81,7 @@ class Unicorn < Formula
}
EOS
system ENV.cc, "-o", testpath/"test1", testpath/"test1.c",
"-lpthread", "-lm", "-lunicorn"
"-lpthread", "-lm", "-L#{lib}", "-lunicorn"
system testpath/"test1"
end
end