libwps: fix test failure.
Closes Homebrew/homebrew#32199. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
bded2577f6
commit
08b6b763ac
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue