aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-15 19:46:21 -0500
committerJack Nagel2014-06-15 19:46:21 -0500
commite215e124f7af943841b4b56e0946a884f828231a (patch)
tree4c2002f9ce1f3a2704e80f0feaf5ee9acdef673c /Library
parent78da9b42057c449565ed0ab7356d388731c402a4 (diff)
downloadhomebrew-e215e124f7af943841b4b56e0946a884f828231a.tar.bz2
libwpg: run test program in addition to compiling it
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libwpg.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/libwpg.rb b/Library/Formula/libwpg.rb
index d9d1ce8a5..577ff4054 100644
--- a/Library/Formula/libwpg.rb
+++ b/Library/Formula/libwpg.rb
@@ -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