forked from mirrors/nixpkgs
added zlib support to PHP
svn path=/nixpkgs/trunk/; revision=10703
This commit is contained in:
parent
4b009da5fd
commit
4122366233
|
@ -411,6 +411,7 @@ args:
|
|||
|
||||
# Extensions
|
||||
|
||||
zlib = { cfgOption = "--with-zlib=${args.zlib}"; pass = "zlib"; };
|
||||
|
||||
libxml2 = { cfgOption = "--with-libxml-dir=\$libxml2";
|
||||
pass = { inherit (args) libxml2; };
|
||||
|
@ -459,7 +460,7 @@ args:
|
|||
};
|
||||
|
||||
defaults = [ "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
|
||||
optionals = [ "libxml2" "gettext" "postgresql"];
|
||||
optionals = [ "libxml2" "gettext" "postgresql" "zlib"];
|
||||
|
||||
# Don't konw wether they should be default.. I use them - Marc
|
||||
|
||||
|
|
|
@ -1648,6 +1648,7 @@ rec {
|
|||
inherit fetchurl flex bison apacheHttpd mysql; # gettext;
|
||||
inherit libxml2;
|
||||
inherit postgresql;
|
||||
inherit zlib;
|
||||
flags = [ "xdebug" "mysql" "mysqli" "pdo_mysql" "libxml2" "apxs2" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue