From: Christoph M. Becker Date: Sat, 24 Oct 2020 13:31:10 +0000 (+0200) Subject: Define config var PHP_JSON X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=560970138915791fe29380c8f31a7ec18379b00f;p=php Define config var PHP_JSON Otherwise, `ADD_EXTENSION_DEP('foo', 'json')` fails, even though the JSON extension is available. --- diff --git a/ext/json/config.w32 b/ext/json/config.w32 index 9d7881118d..255f278772 100644 --- a/ext/json/config.w32 +++ b/ext/json/config.w32 @@ -1,7 +1,7 @@ // vim:ft=javascript EXTENSION('json', 'json.c', false /* never shared */, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"); - +PHP_JSON="yes"; ADD_SOURCES(configure_module_dirname, "json_encoder.c json_parser.tab.c json_scanner.c", "json"); ADD_MAKEFILE_FRAGMENT();