libhttpserver: fix test on 10.13
no /usr/local/lib for you
This commit is contained in:
parent
47a46e4134
commit
3b29939150
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue