libnfs: fix test on 10.13

no /usr/local/lib for you
This commit is contained in:
ilovezfs 2017-07-12 09:30:40 -07:00
parent ca67637973
commit 679d79100c

View file

@ -42,7 +42,7 @@ class Libnfs < Formula
return result;
}
EOS
system ENV.cc, "test.c", "-lnfs", "-o", "test"
system ENV.cc, "test.c", "-L#{lib}", "-lnfs", "-o", "test"
system "./test"
end
end