Skip to content

Commit 5609701

Browse files
committed
Define config var PHP_JSON
Otherwise, `ADD_EXTENSION_DEP('foo', 'json')` fails, even though the JSON extension is available.
1 parent 158d308 commit 5609701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/json/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// vim:ft=javascript
22

33
EXTENSION('json', 'json.c', false /* never shared */, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
4-
4+
PHP_JSON="yes";
55
ADD_SOURCES(configure_module_dirname, "json_encoder.c json_parser.tab.c json_scanner.c", "json");
66

77
ADD_MAKEFILE_FRAGMENT();

0 commit comments

Comments
 (0)