nixpkgs/pkgs/development/libraries/libiconv/setup-hook.sh
2018-03-22 16:50:13 -05:00

8 lines
210 B
Bash

# 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 -liconv"
}
addEnvHooks "$hostOffset" iconvLdflags