core/pkgs/by-name/li/libiconv/setup-hook.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
258 B
Bash
Raw Normal View History

2024-05-02 00:46:19 +00:00
# libiconv must be listed in load flags on non-Glibc
# 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_LDFLAGS${role_post}+=" -liconv"
fi