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

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