3
0
Fork 0
forked from mirrors/nixpkgs

openh264: support cross-compilation

As simple as giving 1 flag to make, nice!
This commit is contained in:
Rick van Schijndel 2021-09-30 20:45:14 +02:00
parent 1debd0c754
commit 13943f5dc5

View file

@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ nasm ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
makeFlags = [
"PREFIX=${placeholder "out"}"
"ARCH=${stdenv.hostPlatform.linuxArch}"
];
meta = with lib; {
description = "A codec library which supports H.264 encoding and decoding";