0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-19 00:25:18 +00:00

Merge pull request #36 from cscott/more-fixes

The json extension is not needed for PHP 5.4.
This commit is contained in:
Patrick Reilly 2013-10-02 14:17:33 -07:00
commit 1f3fbae058

View File

@ -1,4 +1,7 @@
# add json extension, if needed (ie, for PHP >= 5.5)
ifneq (,$(realpath $(EXTENSION_DIR)/json.so))
PHP_TEST_SHARED_EXTENSIONS+=-d extension=$(EXTENSION_DIR)/json.so
endif
testv8: all
$(PHP_EXECUTABLE) -n -d extension_dir=./modules -d extension=v8js.so test.php