File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ git checkout ${dep_version}
24
24
gclient sync
25
25
26
26
export GYPFLAGS=" -Dv8_use_external_startup_data=0"
27
+ export GYPFLAGS=" ${GYPFLAGS} -Dlinux_use_bundled_gold=0"
28
+
27
29
make native library=shared snapshot=on -j8
28
30
29
31
# fix RPATH on libv8.so to not have lib.target/ in it
@@ -35,7 +37,7 @@ rm -rf ${OUT_PREFIX}/*
35
37
mkdir -p ${OUT_PREFIX} /lib ${OUT_PREFIX} /include
36
38
cp out/native/lib.target/lib* .so ${OUT_PREFIX} /lib/
37
39
cp -R include/* ${OUT_PREFIX} /include/
38
- echo -e " create ${OUT_PREFIX} /lib/libv8_libplatform.a\naddlib out/native/obj.target/tools/gyp /libv8_libplatform.a\nsave\nend" | ar -M
40
+ echo -e " create ${OUT_PREFIX} /lib/libv8_libplatform.a\naddlib out/native/obj.target/src /libv8_libplatform.a\nsave\nend" | ar -M
39
41
popd
40
42
41
43
echo " -----> Done."
You can’t perform that action at this time.
0 commit comments