1# libiconv must be listed in load flags on non-Glibc 2# it doesn't hurt to have it in Glibc either though 3 4# See pkgs/build-support/setup-hooks/role.bash 5if [ -z "${dontAddExtraLibs-}" ]; then 6 getHostRole 7 export NIX_${role_pre}LDFLAGS+=" -liconv" 8fi