forked from mirrors/nixpkgs
openh264: support cross-compilation
As simple as giving 1 flag to make, nice!
This commit is contained in:
parent
1debd0c754
commit
13943f5dc5
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue