add :check_libpath option to check_lib configuration method - #107

This commit is contained in:
josh committed 2019-07-29 21:00:52 -04:00
1 parent 6e590b62a6
commit 51a9dd365f
5 files changed
+52 -2

No files matched your search

@@ -0,0 +1,5 @@
build do
Environment.new(echo: :command) do |env|
env.Library("usr2/libfrobulous.a", "two.c")
end
end
@@ -0,0 +1,10 @@
configure do
check_lib "m", check_libpath: ["./usr1"]
check_lib "frobulous", check_libpath: ["./usr2"]
end
build do
Environment.new(echo: :command) do |env|
env.Program("simple.exe", "simple.c")
end
end
+4
View File
@@ -0,0 +1,4 @@
int two(void)
{
return 42;
}