mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 03:25:36 +00:00
php80Extensions.xmlreader: fix build
(cherry picked from commit cede244af9
)
This commit is contained in:
parent
3d3479f717
commit
4e9870ffa2
@ -565,6 +565,7 @@ lib.makeScope pkgs.newScope (self: with self; {
|
||||
buildInputs = [ libxml2 ];
|
||||
internalDeps = [ php.extensions.dom ];
|
||||
NIX_CFLAGS_COMPILE = [ "-I../.." "-DHAVE_DOM" ];
|
||||
doCheck = false;
|
||||
configureFlags = [ "--enable-xmlreader" ]
|
||||
# Required to build on darwin.
|
||||
++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ];
|
||||
|
Loading…
Reference in New Issue
Block a user