libmodbus: fix test on 10.13
no /usr/local/lib for you
This commit is contained in:
parent
e6733887a9
commit
4cb89933af
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ class Libmodbus < Formula
|
|||
return (p == 0);
|
||||
}
|
||||
EOS
|
||||
system ENV.cc, "hellomodbus.c", "-o", "foo", "-lmodbus",
|
||||
system ENV.cc, "hellomodbus.c", "-o", "foo", "-L#{lib}", "-lmodbus",
|
||||
"-I#{include}/libmodbus", "-I#{include}/modbus"
|
||||
system "./foo"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue