fribidi: fix cross

Meson needs a native compiler to produce some binaries:

> gen.tab/meson.build:32:0: ERROR: No build machine compiler for "gen.tab/gen-unicode-version.c"
This commit is contained in:
Florian Klink 2020-11-27 01:30:23 +01:00
parent 81eddf1516
commit 98b72a7adc

View File

@ -1,4 +1,5 @@
{ stdenv { stdenv
, buildPackages
, fetchurl , fetchurl
, meson , meson
, ninja , ninja
@ -26,6 +27,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkgconfig ] nativeBuildInputs = [ meson ninja pkgconfig ]
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames; ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
depsBuildBuild = [ buildPackages.stdenv.cc ];
doCheck = true; doCheck = true;
checkInputs = [ python3 ]; checkInputs = [ python3 ];