php: Fix php pcre by using external lib
This commit is contained in:
parent
7ebacd1a43
commit
c7891595c9
@ -1,6 +1,6 @@
|
||||
{ lib, stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison
|
||||
, mysql, libxml2, readline, zlib, curl, postgresql, gettext
|
||||
, openssl, pkgconfig, sqlite, config, libjpeg, libpng, freetype
|
||||
, openssl, pcre, pkgconfig, sqlite, config, libjpeg, libpng, freetype
|
||||
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, freetds
|
||||
, uwimap, pam, gmp, apacheHttpd, libiconv, systemd }:
|
||||
|
||||
@ -91,6 +91,11 @@ let
|
||||
configureFlags = [ "--enable-pcntl" ];
|
||||
};
|
||||
|
||||
pcre = {
|
||||
configureFlags = ["--with-pcre-regex=${pcre.dev} PCRE_LIBDIR=${pcre}"];
|
||||
buildInputs = [ pcre ];
|
||||
};
|
||||
|
||||
readline = {
|
||||
configureFlags = ["--with-readline=${readline.dev}"];
|
||||
buildInputs = [ readline ];
|
||||
@ -240,6 +245,7 @@ let
|
||||
curlWrappersSupport = (!php7) && (config.php.curlWrappers or true);
|
||||
gettextSupport = config.php.gettext or true;
|
||||
pcntlSupport = config.php.pcntl or true;
|
||||
pcreSupport = config.php.pcreExternal or true;
|
||||
postgresqlSupport = config.php.postgresql or true;
|
||||
pdo_pgsqlSupport = config.php.pdo_pgsql or true;
|
||||
readlineSupport = config.php.readline or true;
|
||||
|
Loading…
Reference in New Issue
Block a user