libgrapheme: fix cross compilation

This commit is contained in:
Nikolay Korotkiy 2024-09-04 18:10:49 +04:00
parent da61b0d477
commit 5fc29fc1bb
No known key found for this signature in database
GPG Key ID: D1DE6D7F693663A5

View File

@ -9,6 +9,11 @@ stdenv.mkDerivation rec {
hash = "sha256-pou93edr1Vul1kEWzl5CoT3wRcgcCFLemrYIlqoUMSU=";
};
postPatch = ''
substituteInPlace configure \
--replace-fail "uname" "echo ${stdenv.hostPlatform.uname.system}"
'';
depsBuildBuild = [ buildPackages.stdenv.cc ];
makeFlags = [ "AR:=$(AR)" "CC:=$(CC)" "RANLIB:=$(RANLIB)" "BUILD_CC=$(CC_FOR_BUILD)" ];