Skip to content

Commit

Permalink
Define config var PHP_JSON
Browse files Browse the repository at this point in the history
Otherwise, `ADD_EXTENSION_DEP('foo', 'json')` fails, even though the
JSON extension is available.
  • Loading branch information
cmb69 committed Oct 24, 2020
1 parent 158d308 commit 5609701
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/json/config.w32
Original file line number Diff line number Diff line change
@@ -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();
Expand Down

0 comments on commit 5609701

Please sign in to comment.