libevent: fix test on 10.13

no /usr/local/lib for you
This commit is contained in:
ilovezfs 2017-07-12 09:30:39 -07:00
parent c5d76a40f4
commit 7a39929bf4

View file

@ -45,7 +45,7 @@ class Libevent < Formula
return 0;
}
EOS
system ENV.cc, "test.c", "-levent", "-o", "test"
system ENV.cc, "test.c", "-L#{lib}", "-levent", "-o", "test"
system "./test"
end
end