2018-03-14 16:58:57 -05:00
|
|
|
# libiconv must be listed in load flags on non-Glibc
|
2018-03-14 14:14:46 -05:00
|
|
|
# it doesn't hurt to have it in Glibc either though
|
2018-03-23 12:07:11 -04:00
|
|
|
|
2018-05-07 13:07:19 -04:00
|
|
|
# See pkgs/build-support/setup-hooks/role.bash
|
2019-10-29 19:58:57 -04:00
|
|
|
if [ -z "${dontAddExtraLibs-}" ]; then
|
2018-12-02 14:26:53 -06:00
|
|
|
getHostRole
|
|
|
|
export NIX_${role_pre}LDFLAGS+=" -liconv"
|
|
|
|
fi
|