3
0
Fork 0
forked from mirrors/nixpkgs

* CURL: build without scp support on Cygwin because libssh2 doesn't

build.

svn path=/nixpkgs/trunk/; revision=23142
This commit is contained in:
Eelco Dolstra 2010-08-12 11:54:55 +00:00
parent ff1c057f7a
commit 19158d7dec
2 changed files with 2 additions and 1 deletions

View file

@ -96,6 +96,7 @@ let
|| result.system == "powerpc-linux"
|| result.system == "armv5tel-linux";
isSunOS = result.system == "i386-sunos";
isCygwin = result.system == "i686-cygwin";
isi686 = result.system == "i686-linux"
|| result.system == "i686-darwin"
|| result.system == "i686-freebsd"

View file

@ -485,7 +485,7 @@ let
inherit stdenv zlib openssl libssh2;
zlibSupport = ! ((stdenv ? isDietLibC) || (stdenv ? isStatic));
sslSupport = zlibSupport;
scpSupport = zlibSupport && (!stdenv.isSunOS);
scpSupport = zlibSupport && !stdenv.isSunOS && !stdenv.isCygwin;
};
curlftpfs = callPackage ../tools/filesystems/curlftpfs { };