From 98e4399f81c13b3ffaf49f4f14e6b99c7533e1df Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Fri, 12 Aug 2016 23:30:46 +0200 Subject: [PATCH] Don't suggest use_system_icu=1, closes #238 --- README.Linux.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.Linux.md b/README.Linux.md index 462523a..e6e6001 100644 --- a/README.Linux.md +++ b/README.Linux.md @@ -32,10 +32,10 @@ Compile latest V8 ``` # Install `build-essential` if you haven't already: -sudo apt-get install build-essential +sudo apt install build-essential -# Install `libicu-dev` if you haven't already: -sudo apt-get install libicu-dev +# Install `chrpath` for fixing libv8.so's RUNPATH header, if you haven't already: +sudo apt install chrpath cd /tmp @@ -51,9 +51,6 @@ cd v8 git checkout 4.9.385.28 gclient sync -# use libicu of operating system -export GYP_DEFINES="use_system_icu=1" - # Build (with internal snapshots) export GYPFLAGS="-Dv8_use_external_startup_data=0" @@ -67,6 +64,9 @@ sudo mkdir -p /usr/lib /usr/include sudo cp out/native/lib.target/lib*.so /usr/lib/ sudo cp -R include/* /usr/include +# Fix libv8.so's RUNPATH header +sudo chrpath -r '$ORIGIN' /usr/lib/libv8.so + # 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