From 9fc09fd4bbd639111e0541df272be84da70954b7 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Tue, 14 Oct 2008 13:35:25 +0000 Subject: [PATCH] fix x264 for x64 systems (-fPIC) svn path=/nixpkgs/trunk/; revision=13063 --- pkgs/development/libraries/x264/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/x264/default.nix b/pkgs/development/libraries/x264/default.nix index 9b8cee26868a..636a5081c5f0 100644 --- a/pkgs/development/libraries/x264/default.nix +++ b/pkgs/development/libraries/x264/default.nix @@ -8,6 +8,8 @@ args.stdenv.mkDerivation rec { sha256 = "07khxih1lmhvrzlaksqmaghbi8w2yyjrjcw867gi2y4z1h0ndhks"; }; + configureFlags= if args.stdenv.system == "x86_64-linux" then ["--enable-pic"] else []; + buildInputs =(with args; []); meta = {