unclutter-xfixes: fix cross-compilation
This commit is contained in:
parent
e4cb4bdb05
commit
a9bb8e4c98
1 changed files with 3 additions and 0 deletions
|
@ -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)" ];
|
||||
|
|
Loading…
Reference in a new issue