libwpd: tweak test flags

This commit is contained in:
Dominyk Tiller 2018-08-31 10:57:44 +01:00
parent 6332771857
commit 39f8b890c8
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -30,9 +30,13 @@ class Libwpd < Formula
return libwpd::WPD_OK;
}
EOS
system ENV.cc, "test.cpp", "-o", "test",
"-lrevenge-0.0", "-I#{Formula["librevenge"].include}/librevenge-0.0",
"-lwpd-0.10", "-I#{include}/libwpd-0.10"
system ENV.cc, "test.cpp",
"-I#{Formula["librevenge"].opt_include}/librevenge-0.0",
"-I#{include}/libwpd-0.10",
"-L#{Formula["librevenge"].opt_lib}",
"-L#{lib}",
"-lwpd-0.10", "-lrevenge-0.0",
"-o", "test"
system "./test"
end
end