libstrophe: fix test on 10.13
no /usr/local/lib for you
This commit is contained in:
parent
2659dbb7a7
commit
4d5e6928d6
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class Libstrophe < Formula
|
|||
return 0;
|
||||
}
|
||||
EOS
|
||||
flags = ["-I#{include}/", "-lstrophe"]
|
||||
flags = ["-I#{include}/", "-L#{lib}", "-lstrophe"]
|
||||
system ENV.cc, "-o", "test", "test.c", *(flags + ENV.cflags.to_s.split)
|
||||
system "./test"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue