gl2ps: fix test on 10.13
no /usr/local/lib for you
This commit is contained in:
parent
19e1cea027
commit
7190379823
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class Gl2ps < Formula
|
|||
return 0;
|
||||
}
|
||||
EOS
|
||||
system ENV.cc, "-lgl2ps", "-framework", "OpenGL", "-framework", "GLUT", "-framework", "Cocoa", "test.c", "-o", "test"
|
||||
system ENV.cc, "-L#{lib}", "-lgl2ps", "-framework", "OpenGL", "-framework", "GLUT", "-framework", "Cocoa", "test.c", "-o", "test"
|
||||
system "./test"
|
||||
assert File.exist?("test.eps") && File.size("test.eps") > 0
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue