mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-23 04:51:53 +00:00
Put additional libs after the main libs
This commit is contained in:
parent
ebb9a0bc70
commit
ac5ba6d68e
27
config.w32
27
config.w32
@ -42,23 +42,6 @@ if (PHP_V8JS != "no") {
|
|||||||
var v8api = v8major + v8js_zeroPad(v8minor, 3) + v8js_zeroPad(v8build, 3);
|
var v8api = v8major + v8js_zeroPad(v8minor, 3) + v8js_zeroPad(v8build, 3);
|
||||||
var v8ver = v8major + "." + v8minor + "." + v8build + "." + v8patch;
|
var v8ver = v8major + "." + v8minor + "." + v8build + "." + v8patch;
|
||||||
|
|
||||||
if (v8api >= 5003000) {
|
|
||||||
// For SymLoadModule64 e.a.
|
|
||||||
// #include <dbghelp.h> in src\base\win32-headers.h
|
|
||||||
// Adds dependency on dbghelp.dll
|
|
||||||
CHECK_LIB("dbghelp.lib", "v8js");
|
|
||||||
}
|
|
||||||
if (v8api >= 5004000) {
|
|
||||||
// For PathRemoveFileSpecW
|
|
||||||
/*
|
|
||||||
v8_libbase.lib(stack_trace_win.obj) :
|
|
||||||
error LNK2019: unresolved external symbol
|
|
||||||
__imp_PathRemoveFileSpecW referenced in function "bool __cdecl
|
|
||||||
v8::base::debug::`anonymous namespace'::InitializeSymbols(void)"
|
|
||||||
(?InitializeSymbols@?A0x38ef2142@debug@base@v8@@YA_NXZ)
|
|
||||||
*/
|
|
||||||
CHECK_LIB("Shlwapi.lib", "v8js");
|
|
||||||
}
|
|
||||||
if (v8api >= 5006000) {
|
if (v8api >= 5006000) {
|
||||||
CHECK_LIB("v8.dll.lib", "v8js");
|
CHECK_LIB("v8.dll.lib", "v8js");
|
||||||
CHECK_LIB("v8_libplatform.dll.lib", "v8js");
|
CHECK_LIB("v8_libplatform.dll.lib", "v8js");
|
||||||
@ -74,6 +57,16 @@ if (PHP_V8JS != "no") {
|
|||||||
CHECK_LIB("v8_libplatform.lib", "v8js");
|
CHECK_LIB("v8_libplatform.lib", "v8js");
|
||||||
CHECK_LIB("v8_libbase.lib", "v8js");
|
CHECK_LIB("v8_libbase.lib", "v8js");
|
||||||
}
|
}
|
||||||
|
if (v8api >= 5003000) {
|
||||||
|
// For SymLoadModule64 e.a.
|
||||||
|
// #include <dbghelp.h> in src\base\win32-headers.h
|
||||||
|
// Adds dependency on dbghelp.dll
|
||||||
|
CHECK_LIB("dbghelp.lib", "v8js");
|
||||||
|
}
|
||||||
|
if (v8api >= 5004000) {
|
||||||
|
// For PathRemoveFileSpecW in v8_libbase.lib(stack_trace_win)
|
||||||
|
CHECK_LIB("Shlwapi.lib", "v8js");
|
||||||
|
}
|
||||||
|
|
||||||
AC_DEFINE("PHP_V8_API_VERSION", v8api, "", false);
|
AC_DEFINE("PHP_V8_API_VERSION", v8api, "", false);
|
||||||
AC_DEFINE("PHP_V8_VERSION", v8ver, "", true);
|
AC_DEFINE("PHP_V8_VERSION", v8ver, "", true);
|
||||||
|
Loading…
Reference in New Issue
Block a user