newt: fix test on 10.13

no /usr/local/lib for you
This commit is contained in:
ilovezfs 2017-07-04 15:54:12 -07:00
parent daef6f1c3f
commit 98e3d52e25

View file

@ -45,7 +45,7 @@ class Newt < Formula
newtFinished();
}
EOS
system ENV.cc, "test.c", "-o", "test", "-lnewt"
system ENV.cc, "test.c", "-o", "test", "-L#{lib}", "-lnewt"
system "./test"
end
end