Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/development/libraries/libiconv/setup-hook.sh

9 lines
258 B
Bash
Raw Normal View History

libiconv: fix bad setup-hook
2018-03-14 16:58:57 -05:00
# libiconv must be listed in load flags on non-Glibc
libiconv: add setup-hook
2018-03-14 14:14:46 -05:00
# it doesn't hurt to have it in Glibc either though
libiconv: Make setup hook work for cross
2018-03-23 12:07:11 -04:00
treewide: Use pkgs/build-support/roles.bash to remove copy pasta Also fix some setup hooks that unnecessarily used environment hooks, which revolted in the same variable being modified too many times.
2018-05-07 13:07:19 -04:00
# See pkgs/build-support/setup-hooks/role.bash
gettext, libiconv: `dontAddExtraLibs` can be legitimately undefined
2019-10-29 19:58:57 -04:00
if [ -z "${dontAddExtraLibs-}" ]; then
ghc: don’t add libiconv automatically ghc needs it to fail to correctly detect it for later.
2018-12-02 14:26:53 -06:00
getHostRole
*-wrapper; Switch from `infixSalt` to `suffixSalt` I hate the thing too even though I made it, and rather just get rid of it. But we can't do that yet. In the meantime, this brings us more inline with autoconf and will make it slightly easier for me to write a pkg-config wrapper, which we need.
2020-04-28 00:08:48 -04:00
export NIX_LDFLAGS${role_post}+=" -liconv"
ghc: don’t add libiconv automatically ghc needs it to fail to correctly detect it for later.
2018-12-02 14:26:53 -06:00
fi
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1375ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API