Merge #176495: unclutter-xfixes: fix cross-compilation

This commit is contained in:
Vladimír Čunát 2022-06-19 11:15:42 +02:00
commit f65e044ad5
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config asciidoc libxslt docbook_xsl ];
buildInputs = [ xlibsWrapper libev libXi libXfixes ];
prePatch = ''
substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?='
'';
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
installFlags = [ "PREFIX=$(out)" ];