xorg.libX11: fix cross
This commit is contained in:
parent
8e97e8009f
commit
602efddc24
@ -1,5 +1,5 @@
|
|||||||
{ abiCompat ? null,
|
{ abiCompat ? null,
|
||||||
stdenv, makeWrapper, lib, fetchurl, fetchpatch,
|
stdenv, makeWrapper, lib, fetchurl, fetchpatch, buildPackages,
|
||||||
|
|
||||||
automake, autoconf, libtool, intltool, mtdev, libevdev, libinput,
|
automake, autoconf, libtool, intltool, mtdev, libevdev, libinput,
|
||||||
python, freetype, tradcpp, fontconfig,
|
python, freetype, tradcpp, fontconfig,
|
||||||
@ -98,6 +98,7 @@ self: super:
|
|||||||
outputs = [ "out" "dev" "man" ];
|
outputs = [ "out" "dev" "man" ];
|
||||||
configureFlags = attrs.configureFlags or []
|
configureFlags = attrs.configureFlags or []
|
||||||
++ malloc0ReturnsNullCrossFlag;
|
++ malloc0ReturnsNullCrossFlag;
|
||||||
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
|
sed 's,^as_dummy.*,as_dummy="\$PATH",' -i configure
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user