libiconv: add setup-hook

This commit is contained in:
Matthew Bauer
2018-03-22 16:50:10 -05:00
parent 90c132c7f1
commit 9e75fb5eb4
2 changed files with 9 additions and 0 deletions
@@ -0,0 +1,7 @@
# libintl must be listed in load flags on non-Glibc
# it doesn't hurt to have it in Glibc either though
iconvLdflags() {
export NIX_LDFLAGS="$NIX_LDFLAGS -iconv"
}
addEnvHooks "$hostOffset" iconvLdflags