Skip to content

Commit 663c675

Browse files
committed
Update build path of libv8_libplatform.a, refs #230
1 parent 1f54fac commit 663c675

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.Linux.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@ make native library=shared snapshot=on -j8
5555
sudo mkdir -p /usr/lib /usr/include
5656
sudo cp out/native/lib.target/lib*.so /usr/lib/
5757
sudo cp -R include/* /usr/include
58+
59+
# Install libv8_libplatform.a (V8 >= 5.2.51)
60+
echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/src/libv8_libplatform.a\nsave\nend" | sudo ar -M
61+
62+
# ... same for V8 < 5.2.51, libv8_libplatform.a is built in tools/gyp directory
5863
echo -e "create /usr/lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp/libv8_libplatform.a\nsave\nend" | sudo ar -M
5964
```
6065

0 commit comments

Comments
 (0)