0
0
mirror of https://github.com/phpv8/v8js.git synced 2025-01-03 15:41:55 +00:00

Make check for 5.6 working

This commit is contained in:
Jan-E 2016-11-16 12:34:09 +01:00
parent 94519caa65
commit ebb9a0bc70

View File

@ -59,16 +59,16 @@ if (PHP_V8JS != "no") {
*/
CHECK_LIB("Shlwapi.lib", "v8js");
}
if (v8api >= 5002000) {
if (v8api >= 5006000) {
CHECK_LIB("v8.dll.lib", "v8js");
CHECK_LIB("v8_libplatform.dll.lib", "v8js");
CHECK_LIB("v8_libbase.dll.lib", "v8js");
} else if (v8api >= 5002000) {
CHECK_LIB("v8.dll.lib", "v8js");
// created by 'cd obj\v8_libplatform && lib /out:v8_libplatform.lib *.obj'
CHECK_LIB("v8_libplatform.lib", "v8js");
// created by 'cd obj\v8_libbase && lib /out:v8_libbase.lib *.obj'
CHECK_LIB("v8_libbase.lib", "v8js");
} else if (v8api >= 5006000) {
CHECK_LIB("v8.dll.lib", "v8js");
CHECK_LIB("v8_libplatform.dll.lib", "v8js");
CHECK_LIB("v8_libbase.dll.lib", "v8js");
} else {
CHECK_LIB("v8.lib", "v8js");
CHECK_LIB("v8_libplatform.lib", "v8js");