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
|
2018-03-23 16:07:11 +00:00
|
|
|
|
2018-05-07 17:07:19 +00:00
|
|
|
# See pkgs/build-support/setup-hooks/role.bash
|
2019-10-29 23:58:57 +00:00
|
|
|
if [ -z "${dontAddExtraLibs-}" ]; then
|
2018-12-02 20:26:53 +00:00
|
|
|
getHostRole
|
|
|
|
export NIX_${role_pre}LDFLAGS+=" -liconv"
|
|
|
|
fi
|