nixpkgs/pkgs/development/libraries/libiconv/setup-hook.sh

9 lines
254 B
Bash
Raw Normal View History

2018-03-14 21:58:57 +00:00
# libiconv must be listed in load flags on non-Glibc
2018-03-14 19:14:46 +00:00
# it doesn't hurt to have it in Glibc either though
# See pkgs/build-support/setup-hooks/role.bash
if [ -z "$dontAddExtraLibs" ]; then
getHostRole
export NIX_${role_pre}LDFLAGS+=" -liconv"
fi