libudev-zero: fix cross compilation
libudev-zero's `Makefile` sets `AR=ar`; we must override this when cross compiling. With this commit, `pkgsCross.aarch64-multiplatform.libudev-zero` builds.
This commit is contained in:
parent
a0ca431141
commit
8b72abdbe8
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "sha256-SU1pPmLLeTWZe5ybhmDplFw6O/vpEjFAKgfKDl0RS4U=";
|
||||
};
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" ];
|
||||
makeFlags = [ "PREFIX=$(out)" "AR=${stdenv.cc.targetPrefix}ar" ];
|
||||
|
||||
# Just let the installPhase build stuff, because there's no
|
||||
# non-install target that builds everything anyway.
|
||||
|
|
Loading…
Reference in a new issue