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
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "sha256-SU1pPmLLeTWZe5ybhmDplFw6O/vpEjFAKgfKDl0RS4U=";
|
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
|
# Just let the installPhase build stuff, because there's no
|
||||||
# non-install target that builds everything anyway.
|
# non-install target that builds everything anyway.
|
||||||
|
|
Loading…
Reference in a new issue