Quellcode durchsuchen

Fix v8 build, the order in which I manipulated args.gn prevented .so's from being built.

Cannot put targets for static and then add shared, this args file is per specific build, and not for producing multiple artifacts.
master
Ray Burgemeestre vor 5 Jahren
Ursprung
Commit
882388508e
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  1. +1
    -2
      v8pp/build-v8.sh

+ 1
- 2
v8pp/build-v8.sh Datei anzeigen

@@ -27,12 +27,11 @@ echo "v8_use_external_startup_data = false" | tee -a out/x64.release/args.gn
echo "v8_use_snapshot = false" | tee -a out/x64.release/args.gn
echo "use_custom_libcxx = false" | tee -a out/x64.release/args.gn

./tools/dev/gm.py x64.release

# produce monolith (single static all in one .a file)
echo "v8_monolithic = true" | tee -a out/x64.release/args.gn
ninja -C out/x64.release v8_monolith

# produce .so files (shared libs)
sed -i.bak '/^v8_monolithic/d' out/x64.release/args.gn
echo "is_component_build = true" | tee -a out/x64.release/args.gn
ninja -C out/x64.release

Laden…
Abbrechen
Speichern