0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-12-22 18:41:52 +00:00

Update build path of libv8_libplatform.a, refs #230

This commit is contained in:
Stefan Siegl 2016-05-22 12:40:09 +02:00
parent 1f54fac62d
commit 663c675fe8

View File

@ -55,6 +55,11 @@ make native library=shared snapshot=on -j8
sudo mkdir -p /usr/lib /usr/include sudo mkdir -p /usr/lib /usr/include
sudo cp out/native/lib.target/lib*.so /usr/lib/ sudo cp out/native/lib.target/lib*.so /usr/lib/
sudo cp -R include/* /usr/include sudo cp -R include/* /usr/include
# Install libv8_libplatform.a (V8 >= 5.2.51)
echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/src/libv8_libplatform.a\nsave\nend" | sudo ar -M
# ... same for V8 < 5.2.51, libv8_libplatform.a is built in tools/gyp directory
echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp/libv8_libplatform.a\nsave\nend" | sudo ar -M echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp/libv8_libplatform.a\nsave\nend" | sudo ar -M
``` ```