aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAndrew Krasavin <noiseless-ak@yandex.ru>2022-02-01 06:13:09 +0300
committerEli Schwartz <eschwartz93@gmail.com>2022-02-01 15:51:15 -0500
commitb564e342219b9a453ae2c5857b5aa2bcc54511af (patch)
tree7467caff2f478cfc96b5a3d1336d646adb08722d /docs
parent248e6cf4736ef9ec636228da66c28f9be03aa74f (diff)
downloadmeson-b564e342219b9a453ae2c5857b5aa2bcc54511af.zip
meson-b564e342219b9a453ae2c5857b5aa2bcc54511af.tar.gz
meson-b564e342219b9a453ae2c5857b5aa2bcc54511af.tar.bz2
new custom dependency lookup for libdl
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Dependencies.md11
-rw-r--r--docs/markdown/snippets/libdl-dependency.md8
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).