forked from mirrors/nixpkgs
icu: xlocale.h fixup needed w/musl as well
This commit is contained in:
parent
6923737bb4
commit
e93dc20ed4
|
@ -26,7 +26,7 @@ stdenv.mkDerivation {
|
|||
'';
|
||||
|
||||
# https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27
|
||||
postPatch = if stdenv ? glibc
|
||||
postPatch = if (stdenv.hostPlatform.libc == "glibc" || stdenv.hostPlatform.libc == "musl")
|
||||
then "substituteInPlace i18n/digitlst.cpp --replace '<xlocale.h>' '<locale.h>'"
|
||||
else null; # won't find locale_t on darwin
|
||||
|
||||
|
|
Loading…
Reference in a new issue