From 214d03568f75fbd578cc97d46f48d5d882f3870b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Wed, 1 Sep 2021 00:13:46 -0400 Subject: new custom dependency lookup for iconv Also internally needed by intl, so add that as a proxied dependency instead of coding it manually. --- docs/markdown/Dependencies.md | 9 +++++++++ docs/markdown/snippets/iconv-dependency.md | 8 ++++++++ 2 files changed, 17 insertions(+) create mode 100644 docs/markdown/snippets/iconv-dependency.md (limited to 'docs') 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). -- cgit v1.1