xorg.libX11: fix cross

This commit is contained in:
Robin Gloster 2018-11-04 22:17:29 +01:00
parent 8e97e8009f
commit 602efddc24
No known key found for this signature in database
GPG key ID: D5C458DF6DD97EDF

View file

@ -1,5 +1,5 @@
{ abiCompat ? null,
stdenv, makeWrapper, lib, fetchurl, fetchpatch,
stdenv, makeWrapper, lib, fetchurl, fetchpatch, buildPackages,
automake, autoconf, libtool, intltool, mtdev, libevdev, libinput,
python, freetype, tradcpp, fontconfig,
@ -98,6 +98,7 @@ self: super:
outputs = [ "out" "dev" "man" ];
configureFlags = attrs.configureFlags or []
++ malloc0ReturnsNullCrossFlag;
depsBuildBuild = [ buildPackages.stdenv.cc ];
preConfigure = ''
sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
'';