diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-12-02 14:26:53 -0600 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-12-05 13:17:40 -0600 |
commit | 7a00e80329b5ff9673f6a2282f98db7903af7d3f (patch) | |
tree | 1463aa7ed5df579a07a1a543a4fbe53bdfc147af /pkgs/development/libraries/gettext | |
parent | a9d153633e15a38a661be91f81cfbd22d0c49be6 (diff) |
ghc: don’t add libiconv automatically
ghc needs it to fail to correctly detect it for later.
Diffstat (limited to 'pkgs/development/libraries/gettext')
-rw-r--r-- | pkgs/development/libraries/gettext/gettext-setup-hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gettext/gettext-setup-hook.sh b/pkgs/development/libraries/gettext/gettext-setup-hook.sh index 0a6bc0dd253af..ad3763c29b643 100644 --- a/pkgs/development/libraries/gettext/gettext-setup-hook.sh +++ b/pkgs/development/libraries/gettext/gettext-setup-hook.sh @@ -10,7 +10,7 @@ addEnvHooks "$hostOffset" gettextDataDirsHook # libintl must be listed in load flags on non-Glibc # it doesn't hurt to have it in Glibc either though -if [ ! -z "@gettextNeedsLdflags@" ]; then +if [ -n "@gettextNeedsLdflags@" -a -z "$dontAddExtraLibs" ]; then # See pkgs/build-support/setup-hooks/role.bash getHostRole export NIX_${role_pre}LDFLAGS+=" -lintl" |