glbinding: fix test on 10.13

no /usr/local/lib for you
This commit is contained in:
ilovezfs 2017-07-04 15:54:10 -07:00
parent 7190379823
commit 8eacf02c12

View file

@ -38,7 +38,7 @@ class Glbinding < Formula
EOS
system ENV.cxx, "-o", "test", "test.cpp", "-std=c++11", "-stdlib=libc++",
"-I#{include}/glbinding", "-I#{lib}/glbinding", "-framework", "OpenGL",
"-lglbinding", *ENV.cflags.to_s.split
"-L#{lib}", "-lglbinding", *ENV.cflags.to_s.split
system "./test"
end
end