libhttpserver: 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 47a46e4134
commit 3b29939150

View file

@ -38,7 +38,7 @@ class Libhttpserver < Formula
test do
system ENV.cxx, pkgshare/"examples/hello_world.cpp",
"-o", "hello_world", "-lhttpserver", "-lcurl"
"-o", "hello_world", "-L#{lib}", "-lhttpserver", "-lcurl"
pid = fork { exec "./hello_world" }
sleep 1 # grace time for server start
begin