mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00

Otherwise, `ADD_EXTENSION_DEP('foo', 'json')` fails, even though the JSON extension is available.
9 lines
342 B
JavaScript
9 lines
342 B
JavaScript
// 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();
|
|
|
|
PHP_INSTALL_HEADERS("ext/json/", "php_json.h php_json_parser.h php_json_scanner.h");
|