From 7a00e80329b5ff9673f6a2282f98db7903af7d3f Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sun, 2 Dec 2018 14:26:53 -0600 Subject: ghc: don’t add libiconv automatically MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ghc needs it to fail to correctly detect it for later. --- doc/stdenv.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'doc') diff --git a/doc/stdenv.xml b/doc/stdenv.xml index 26190debc29bf..4ef89991d2f25 100644 --- a/doc/stdenv.xml +++ b/doc/stdenv.xml @@ -2525,6 +2525,23 @@ addEnvHooks "$hostOffset" myBashFunction + + + 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. + + + cmake -- cgit 1.4.1