gettext: add -lintl to setup-hook
This commit is contained in:
parent
223a77c311
commit
90c132c7f1
@ -5,3 +5,11 @@ gettextDataDirsHook() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
addEnvHooks "$hostOffset" 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user