Crypto++: Fix on Darwin.
svn path=/nixpkgs/trunk/; revision=17196
This commit is contained in:
parent
26bf0b0150
commit
bdc8e21d9e
@ -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 = ''
|
||||
|
@ -2982,7 +2982,7 @@ let
|
||||
};
|
||||
|
||||
cryptopp = import ../development/libraries/crypto++ {
|
||||
inherit fetchurl stdenv unzip;
|
||||
inherit fetchurl stdenv unzip libtool;
|
||||
};
|
||||
|
||||
cyrus_sasl = import ../development/libraries/cyrus-sasl {
|
||||
|
Loading…
Reference in New Issue
Block a user