gupnp: test tweaks
* fix naked /usr/include usage * fix finding lglib in test.
This commit is contained in:
parent
1ddcfc790e
commit
97ad8f54d8
1 changed files with 2 additions and 1 deletions
|
@ -56,9 +56,10 @@ class Gupnp < Formula
|
|||
"-L#{Formula["gssdp"].opt_lib}", "-lgssdp-1.0",
|
||||
"-I#{Formula["glib"].opt_include}/glib-2.0",
|
||||
"-I#{Formula["glib"].opt_lib}/glib-2.0/include",
|
||||
"-L#{Formula["glib"].opt_lib}",
|
||||
"-lglib-2.0", "-lgobject-2.0",
|
||||
"-I#{Formula["libsoup"].opt_include}/libsoup-2.4",
|
||||
"-I/usr/include/libxml2",
|
||||
"-I#{MacOS.sdk_path}/usr/include/libxml2",
|
||||
testpath/"test.c", "-o", testpath/"test"
|
||||
system "./test"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue