electron19: fix build with gcc 12
This commit is contained in:
parent
6e907b32e3
commit
cc82905134
1 changed files with 3 additions and 0 deletions
|
@ -201,6 +201,9 @@ pre_configure() {
|
|||
vsed -e 's|python3.10|python3.11|g' -i third_party/electron_node/configure
|
||||
vsed -e "s|(3, 10)|(3, 11)|" -i third_party/electron_node/configure
|
||||
|
||||
# Add missing include
|
||||
vsed -e "s|#include <algorithm>|&\n#include <utility>|" -i base/third_party/symbolize/symbolize.h
|
||||
|
||||
mkdir -p third_party/node/linux/node-linux-x64/bin
|
||||
ln -sf /usr/bin/node third_party/node/linux/node-linux-x64/bin/
|
||||
rm -f third_party/devtools-frontend/src/third_party/esbuild/esbuild
|
||||
|
|
Loading…
Add table
Reference in a new issue