1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

libvpx on darwin: attempt to fix build

CC @lovek323.
This commit is contained in:
Vladimír Čunát 2014-05-30 11:18:25 +02:00
parent 11ac14f31b
commit 2436bb705c

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, bash, yasm, which, perl}:
{stdenv, fetchurl, bash, yasm, which, perl, binutils}:
let version = "1.3.0";
in
@ -16,7 +16,8 @@ stdenv.mkDerivation rec {
sed -e '/enable linux/d' -i configure
'';
buildInputs = [ yasm which perl ];
buildInputs = [ yasm which perl ]
++ stdenv.lib.optional stdenv.isDarwin binutils; # new asm opcode support
preConfigure = ''
mkdir -p build