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