summary refs log tree commit diff
path: root/pkgs/development/libraries/libvpx
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2014-05-30 11:18:25 +0200
committerVladimír Čunát <vcunat@gmail.com>2014-05-30 11:19:31 +0200
commit2436bb705ceb8bc2b11114dd8edc0fa91c542255 (patch)
tree889dd6d63b7b373b728c8291eae48c39ee61cfc2 /pkgs/development/libraries/libvpx
parent11ac14f31b24b85c97e5ee3a5c386c7e244c57cf (diff)
libvpx on darwin: attempt to fix build
CC @lovek323.
Diffstat (limited to 'pkgs/development/libraries/libvpx')
-rw-r--r--pkgs/development/libraries/libvpx/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/libvpx/default.nix b/pkgs/development/libraries/libvpx/default.nix
index aa869b4b19d85..45fc442a713f9 100644
--- a/pkgs/development/libraries/libvpx/default.nix
+++ b/pkgs/development/libraries/libvpx/default.nix
@@ -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