Skip to content

Commit c9b2460

Browse files
committed
check for symbols defined in the library
1 parent 659e84d commit c9b2460

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

deps/build.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
using BinDeps, Compat
22
@BinDeps.setup
33

4-
libgeos = library_dependency("libgeos",aliases=["libgeos_c", "libgeos_c-1"])
4+
libgeos = library_dependency("libgeos",aliases=["libgeos_c", "libgeos_c-1"], validate = function(path, handle)
5+
return @compat(Libdl.dlsym_e(handle,:initGEOS)) != C_NULL
6+
end)
57

68
version = "3.4.2"
79

0 commit comments

Comments
 (0)