summary refs log tree commit diff
path: root/pkgs/development/libraries/crypto++
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2009-09-16 14:35:38 +0000
committerLudovic Courtès <ludo@gnu.org>2009-09-16 14:35:38 +0000
commitbdc8e21d9eaed04fdc55d6cfa7e92a00caff731a (patch)
tree4fd514c297f5adf04dfc446ce7ba9615b788482c /pkgs/development/libraries/crypto++
parent26bf0b0150e8082c8cdb115d45f947d34630bf8b (diff)
downloadnixlib-bdc8e21d9eaed04fdc55d6cfa7e92a00caff731a.tar
nixlib-bdc8e21d9eaed04fdc55d6cfa7e92a00caff731a.tar.gz
nixlib-bdc8e21d9eaed04fdc55d6cfa7e92a00caff731a.tar.bz2
nixlib-bdc8e21d9eaed04fdc55d6cfa7e92a00caff731a.tar.lz
nixlib-bdc8e21d9eaed04fdc55d6cfa7e92a00caff731a.tar.xz
nixlib-bdc8e21d9eaed04fdc55d6cfa7e92a00caff731a.tar.zst
nixlib-bdc8e21d9eaed04fdc55d6cfa7e92a00caff731a.zip
Crypto++: Fix on Darwin.
svn path=/nixpkgs/trunk/; revision=17196
Diffstat (limited to 'pkgs/development/libraries/crypto++')
-rw-r--r--pkgs/development/libraries/crypto++/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/crypto++/default.nix b/pkgs/development/libraries/crypto++/default.nix
index 2afc77f97772..a2cfcc45a4ce 100644
--- a/pkgs/development/libraries/crypto++/default.nix
+++ b/pkgs/development/libraries/crypto++/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, unzip }:
+{ fetchurl, stdenv, unzip, libtool }:
 
 stdenv.mkDerivation rec {
   name = "crypto++-5.6.0";
@@ -12,7 +12,10 @@ stdenv.mkDerivation rec {
     ++ stdenv.lib.optional (builtins.currentSystem != "i686-cygwin") ./dll.patch;
 
 
-  buildInputs = [ unzip ];
+  buildInputs = [ unzip ]
+
+    # For some reason the makefile sets "AR = libtool" on Darwin.
+    ++ stdenv.lib.optional (builtins.currentSystem == "i686-darwin") libtool;
 
   # Unpack the thing in a subdirectory.
   unpackPhase = ''