libwps: fix test failure.

Closes Homebrew/homebrew#32199.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
kbinani 2014-09-10 09:50:11 +09:00 committed by Jack Nagel
parent bded2577f6
commit 08b6b763ac

View file

@ -32,9 +32,13 @@ class Libwps < Formula
}
EOS
system ENV.cc, "test.cpp", "-o", "test",
"-lrevenge-0.0", "-I#{Formula["librevenge"].include}/librevenge-0.0",
"-lwpd-0.10", "-I#{Formula["libwpd"].include}/libwpd-0.10",
"-lwps-0.3", "-I#{include}/libwps-0.3"
"-lrevenge-0.0",
"-I#{Formula["librevenge"].include}/librevenge-0.0",
"-L#{Formula["librevenge"].lib}",
"-lwpd-0.10",
"-I#{Formula["libwpd"].include}/libwpd-0.10",
"-L#{Formula["libwpd"].lib}",
"-lwps-0.3", "-I#{include}/libwps-0.3", "-L#{lib}"
system "./test"
end
end