* On x86_64-darwin, "./config" misdetects the system as
"darwin-i386-cc" (http://hydra.nixos.org/build/498076). So specify the system type explicitly. svn path=/nixpkgs/branches/x-updates/; revision=22726
This commit is contained in:
parent
9b87ffa522
commit
4a6eb1183e
@ -17,8 +17,11 @@ stdenv.mkDerivation rec {
|
|||||||
patches = stdenv.lib.optional stdenv.isDarwin ./darwin-arch.patch;
|
patches = stdenv.lib.optional stdenv.isDarwin ./darwin-arch.patch;
|
||||||
|
|
||||||
buildNativeInputs = [ perl ];
|
buildNativeInputs = [ perl ];
|
||||||
|
|
||||||
configureScript = "./config";
|
# On x86_64-darwin, "./config" misdetects the system as
|
||||||
|
# "darwin-i386-cc". So specify the system type explicitly.
|
||||||
|
configureScript =
|
||||||
|
if stdenv.system == "x86_64-darwin" then "./Configure darwin64-x86_64-cc" else "./config";
|
||||||
|
|
||||||
configureFlags = "shared --libdir=lib";
|
configureFlags = "shared --libdir=lib";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user