Also fix neon-0.26 build
svn path=/nixpkgs/trunk/; revision=21392
This commit is contained in:
parent
293cde6747
commit
415f0fdc9f
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, libxml2
|
||||
{ stdenv, fetchurl, libxml2, pkgconfig
|
||||
, compressionSupport ? true, zlib ? null
|
||||
, sslSupport ? true, openssl ? null
|
||||
}:
|
||||
|
@ -14,11 +14,13 @@ stdenv.mkDerivation {
|
|||
sha256 = "1pjrn5wb18gy419293hmwd02blmh36aaxsrgajm9nkkkjzqakncj";
|
||||
};
|
||||
|
||||
buildInputs = [libxml2] ++ stdenv.lib.optional compressionSupport zlib;
|
||||
buildInputs = [libxml2]
|
||||
++ stdenv.lib.optional compressionSupport zlib
|
||||
++ (if sslSupport then [ openssl pkgconfig ] else []);
|
||||
|
||||
configureFlags = ''
|
||||
${if compressionSupport then "--with-zlib" else "--without-zlib"}
|
||||
${if sslSupport then "--with-ssl --with-libs=${openssl}" else "--without-ssl"}
|
||||
${if sslSupport then "--with-ssl" else "--without-ssl"}
|
||||
--enable-shared
|
||||
'';
|
||||
|
||||
|
|
|
@ -4717,7 +4717,7 @@ let
|
|||
neon = neon026;
|
||||
|
||||
neon026 = import ../development/libraries/neon/0.26.nix {
|
||||
inherit fetchurl stdenv libxml2 zlib openssl;
|
||||
inherit fetchurl stdenv libxml2 zlib openssl pkgconfig;
|
||||
compressionSupport = true;
|
||||
sslSupport = true;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue