mirror of
https://github.com/phpv8/v8js.git
synced 2024-11-08 12:38:41 +00:00
Ensure all v8 libraries are copied in README; sanity check in config.m4.
The latest versions of v8 build libicu as well. If this isn't copied to the lib directory, then the v8 version check fails (with a link error). Ensure that this is caught at configuration time.
This commit is contained in:
parent
19f30f5b1c
commit
91393faca3
@ -34,7 +34,7 @@ cd v8
|
|||||||
make dependencies
|
make dependencies
|
||||||
make native library=shared -j8
|
make native library=shared -j8
|
||||||
sudo mkdir -p /usr/lib /usr/include
|
sudo mkdir -p /usr/lib /usr/include
|
||||||
sudo cp out/native/lib.target/libv8.so /usr/lib/libv8.so
|
sudo cp out/native/lib.target/lib*.so /usr/lib/
|
||||||
sudo cp include/v8* /usr/include
|
sudo cp include/v8* /usr/include
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -72,6 +72,8 @@ CPPFLAGS=$old_CPPFLAGS
|
|||||||
fi
|
fi
|
||||||
AC_DEFINE_UNQUOTED([PHP_V8_API_VERSION], $V8_API_VERSION, [ ])
|
AC_DEFINE_UNQUOTED([PHP_V8_API_VERSION], $V8_API_VERSION, [ ])
|
||||||
AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])
|
AC_DEFINE_UNQUOTED([PHP_V8_VERSION], "$ac_cv_v8_version", [ ])
|
||||||
|
else
|
||||||
|
AC_MSG_ERROR([could not determine libv8 version])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PHP_NEW_EXTENSION(v8js, v8js.cc v8js_convert.cc v8js_methods.cc v8js_variables.cc v8js_commonjs.cc, $ext_shared, , "-std=c++11")
|
PHP_NEW_EXTENSION(v8js, v8js.cc v8js_convert.cc v8js_methods.cc v8js_variables.cc v8js_commonjs.cc, $ext_shared, , "-std=c++11")
|
||||||
|
Loading…
Reference in New Issue
Block a user