about summary refs log tree commit diff
path: root/nixpkgs/doc/hooks/libiconv.section.md
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/doc/hooks/libiconv.section.md')
-rw-r--r--nixpkgs/doc/hooks/libiconv.section.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixpkgs/doc/hooks/libiconv.section.md b/nixpkgs/doc/hooks/libiconv.section.md
new file mode 100644
index 000000000000..c228fe339e14
--- /dev/null
+++ b/nixpkgs/doc/hooks/libiconv.section.md
@@ -0,0 +1,4 @@
+
+### libiconv, libintl {#libiconv-libintl}
+
+A few libraries automatically add to `NIX_LDFLAGS` their library, making their symbols automatically available to the linker. This includes libiconv and libintl (gettext). This is done to provide compatibility between GNU Linux, where libiconv and libintl are bundled in, and other systems where that might not be the case. Sometimes, this behavior is not desired. To disable this behavior, set `dontAddExtraLibs`.