libwpg: run test program in addition to compiling it

master
Jack Nagel 2014-06-15 19:46:21 -05:00
parent 627a1397b8
commit 187f72cae9
1 changed files with 2 additions and 1 deletions

View File

@ -29,8 +29,9 @@ class Libwpg < Formula
return libwpg::WPG_AUTODETECT;
}
EOS
system ENV.cc, "test.cpp",
system ENV.cc, "test.cpp", "-o", "test",
"-lrevenge-0.0", "-I#{Formula['librevenge'].include}/librevenge-0.0",
"-lwpg-0.3", "-I#{include}/libwpg-0.3"
system "./test"
end
end