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

mention to set-rpath, refs #335

This commit is contained in:
Stefan Siegl 2018-01-06 16:58:06 +01:00
parent 0e0720771c
commit f6d004c367
No known key found for this signature in database
GPG Key ID: 73942AF5642F3DDA

View File

@ -67,6 +67,13 @@ sudo cp out.gn/x64.release/lib*.so out.gn/x64.release/*_blob.bin \
sudo cp -R include/* /opt/v8/include/
```
On Debian Stretch you need to set RPATH on the installed libraries,
so the library loader finds the dependencies:
```
sudo apt-get install patchelf
for A in /opt/v8/lib/*.so; do sudo patchelf --set-rpath '$ORIGIN' $A; done
```
Compile php-v8js itself
-----------------------