libiconv: fix bad setup-hook

This commit is contained in:
Matthew Bauer 2018-03-14 16:58:57 -05:00
parent 63b41e2be7
commit c295e7a7f5

View File

@ -1,7 +1,7 @@
# libintl must be listed in load flags on non-Glibc
# libiconv 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"
export NIX_LDFLAGS="$NIX_LDFLAGS -liconv"
}
addEnvHooks "$hostOffset" iconvLdflags