diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/markdown/Dependencies.md | 11 | ||||
-rw-r--r-- | docs/markdown/snippets/libdl-dependency.md | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md index 0cbed5c..9dabef8 100644 --- a/docs/markdown/Dependencies.md +++ b/docs/markdown/Dependencies.md @@ -393,6 +393,17 @@ foreach h : check_headers endforeach ``` +## dl (libdl) + +*(added 0.62.0)* + +Provides access to the dynamic link interface (functions: dlopen, +dlclose, dlsym and others). On systems where this is not built +into libc (mostly glibc < 2.34), tries to find an external library +providing them instead. + +`method` may be `auto`, `builtin` or `system`. + ## Fortran Coarrays *(added 0.50.0)* diff --git a/docs/markdown/snippets/libdl-dependency.md b/docs/markdown/snippets/libdl-dependency.md new file mode 100644 index 0000000..fee780c --- /dev/null +++ b/docs/markdown/snippets/libdl-dependency.md @@ -0,0 +1,8 @@ +## New custom dependency for libdl + +``` +dependency('dl') +``` + +will now check for the functionality of libdl.so, but first check if it is +provided in the libc (for example in libc on OpenBSD or in musl libc on linux). |