gettext: add -lintl to setup-hook

This commit is contained in:
Matthew Bauer 2018-03-14 14:14:21 -05:00
parent 223a77c311
commit 90c132c7f1

View File

@ -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