openh264: 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 98e3d52e25
commit cd4b6e4357

View file

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