diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-14 14:14:21 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-03-22 16:50:10 -0500 |
commit | 90c132c7f1052703e236b6a6c46602e207f09e47 (patch) | |
tree | c0fe387571b05d7c9f7ffd1b22c04ddbe9d748c9 /pkgs/development/libraries/gettext | |
parent | 223a77c311610b92f25dccd5d621498ed4a39213 (diff) |
gettext: add -lintl to setup-hook
Diffstat (limited to 'pkgs/development/libraries/gettext')
-rw-r--r-- | pkgs/development/libraries/gettext/gettext-setup-hook.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gettext/gettext-setup-hook.sh b/pkgs/development/libraries/gettext/gettext-setup-hook.sh index 5932ef6a44f92..bdd34f453942a 100644 --- a/pkgs/development/libraries/gettext/gettext-setup-hook.sh +++ b/pkgs/development/libraries/gettext/gettext-setup-hook.sh @@ -5,3 +5,11 @@ gettextDataDirsHook() { } addEnvHooks "$hostOffset" gettextDataDirsHook + +# libintl must be listed in load flags on non-Glibc +# it doesn't hurt to have it in Glibc either though +gettextLdflags() { + export NIX_LDFLAGS="$NIX_LDFLAGS -lintl" +} + +addEnvHooks "$hostOffset" gettextLdflags |