aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2021-09-01 00:13:46 -0400
committerEli Schwartz <eschwartz@archlinux.org>2021-09-12 13:45:43 -0400
commit214d03568f75fbd578cc97d46f48d5d882f3870b (patch)
tree745b2a5a8b038d78feed64bb49c2ae652d13ad70 /docs
parent3cddb0e5c6e2fbc71e64e5cbbacb3b88ad2ad816 (diff)
downloadmeson-214d03568f75fbd578cc97d46f48d5d882f3870b.zip
meson-214d03568f75fbd578cc97d46f48d5d882f3870b.tar.gz
meson-214d03568f75fbd578cc97d46f48d5d882f3870b.tar.bz2
new custom dependency lookup for iconv
Also internally needed by intl, so add that as a proxied dependency instead of coding it manually.
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/Dependencies.md9
-rw-r--r--docs/markdown/snippets/iconv-dependency.md8
2 files changed, 17 insertions, 0 deletions
diff --git a/docs/markdown/Dependencies.md b/docs/markdown/Dependencies.md
index 9f0ab7f..d09c688 100644
--- a/docs/markdown/Dependencies.md
+++ b/docs/markdown/Dependencies.md
@@ -453,6 +453,15 @@ language.
*New in 0.56.0* the dependencies now return proper dependency types
and `get_variable` and similar methods should work as expected.
+## iconv
+
+*(added 0.60.0)*
+
+Provides access to the `iconv` family of C functions. On systems where this is
+not built into libc, tries to find an external library providing them instead.
+
+`method` may be `auto`, `builtin` or `system`.
+
## intl
*(added 0.59.0)*
diff --git a/docs/markdown/snippets/iconv-dependency.md b/docs/markdown/snippets/iconv-dependency.md
new file mode 100644
index 0000000..21a2985
--- /dev/null
+++ b/docs/markdown/snippets/iconv-dependency.md
@@ -0,0 +1,8 @@
+## New custom dependency for iconv
+
+```
+dependency('iconv')
+```
+
+will now check for the functionality of libiconv.so, but first check if it is
+provided in the libc (for example in glibc or musl libc on Linux).