mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
libiconv: TEMP force building library improperly for target plat like libc
This commit is contained in:
parent
94df8e7e4d
commit
d27403b17b
1 changed files with 3 additions and 3 deletions
|
@ -8241,9 +8241,9 @@ with pkgs;
|
|||
# glibc provides libiconv so systems with glibc don't need to build libiconv
|
||||
# separately, but we also provide libiconvReal, which will always be a
|
||||
# standalone libiconv, just in case you want it
|
||||
libiconv = if crossSystem != null then
|
||||
(if crossSystem.libc == "glibc" then libcCross
|
||||
else if crossSystem.libc == "libSystem" then darwin.libiconv
|
||||
libiconv = if stdenv ? cross then
|
||||
(if stdenv.cross.libc == "glibc" then libcCross
|
||||
else if stdenv.cross.libc == "libSystem" then darwin.libiconv
|
||||
else libiconvReal)
|
||||
else if stdenv.isGlibc then glibcIconv stdenv.cc.libc
|
||||
else if stdenv.isDarwin then darwin.libiconv
|
||||
|
|
Loading…
Reference in a new issue