From 1fb0a1e049b626cb63e8eefec635c64dc811d55a Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Sat, 28 Sep 2013 02:02:49 +0200 Subject: [PATCH] reworked config.w32 the latest v8 versions won't compile with this ext, so used 3.17.15 --- config.w32 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config.w32 b/config.w32 index 0ca49aa..bb134be 100644 --- a/config.w32 +++ b/config.w32 @@ -2,10 +2,14 @@ ARG_WITH("v8js", "for V8 Javascript Engine", "no"); if (PHP_V8JS != "no") { - if (CHECK_LIB("v8_base.lib", "v8js") && + if (CHECK_LIB("v8.lib", "v8js") && CHECK_HEADER_ADD_INCLUDE("v8.h", "CFLAGS_V8JS")) { - EXTENSION("v8js", "v8js.cc v8js_convert.cc v8js_methods.cc v8js_variables.cc", "yes"); + + AC_DEFINE("PHP_V8_API_VERSION", "3017015", "", false); + AC_DEFINE("PHP_V8_VERSION", "3.17.15", "", true); + + EXTENSION("v8js", "v8js.cc v8js_convert.cc v8js_methods.cc v8js_variables.cc", "yes"); } else { WARNING("v8js not enabled, headers or libs not found");