unclutter-xfixes: fix cross-compilation
This commit is contained in:
parent
e4cb4bdb05
commit
a9bb8e4c98
|
@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ pkg-config asciidoc libxslt docbook_xsl ];
|
nativeBuildInputs = [ pkg-config asciidoc libxslt docbook_xsl ];
|
||||||
buildInputs = [ xlibsWrapper libev libXi libXfixes ];
|
buildInputs = [ xlibsWrapper libev libXi libXfixes ];
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
substituteInPlace Makefile --replace 'PKG_CONFIG =' 'PKG_CONFIG ?='
|
||||||
|
'';
|
||||||
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
|
||||||
|
|
||||||
installFlags = [ "PREFIX=$(out)" ];
|
installFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
Loading…
Reference in a new issue