2018-03-14 22:58:57 +01:00
|
|
|
# libiconv must be listed in load flags on non-Glibc
|
2018-03-14 20:14:46 +01:00
|
|
|
# it doesn't hurt to have it in Glibc either though
|
2018-03-23 17:07:11 +01:00
|
|
|
|
2018-05-07 19:07:19 +02:00
|
|
|
# See pkgs/build-support/setup-hooks/role.bash
|
2019-10-30 00:58:57 +01:00
|
|
|
if [ -z "${dontAddExtraLibs-}" ]; then
|
2018-12-02 21:26:53 +01:00
|
|
|
getHostRole
|
2020-04-28 06:08:48 +02:00
|
|
|
export NIX_LDFLAGS${role_post}+=" -liconv"
|
2018-12-02 21:26:53 +01:00
|
|
|
fi
|