Группа :: Сети/WWW
Пакет: chromium-gost
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0012-FEDORA-bootstrap-with-python3.patch
Скачать
Скачать
From e1d42cd499c0cd92bbccfecaf361024c1fb7bdf6 Mon Sep 17 00:00:00 2001
From: Alexey Gladkov <legion@altlinux.org>
Date: Wed, 11 Aug 2021 13:44:23 +0300
Subject: [PATCH] FEDORA: bootstrap with python3
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
---
tools/gn/bootstrap/bootstrap.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py
index 6617d636c85..1e908113596 100755
--- a/tools/gn/bootstrap/bootstrap.py
+++ b/tools/gn/bootstrap/bootstrap.py
@@ -123,17 +123,17 @@ def main(argv):
os.path.join(BOOTSTRAP_DIR, 'last_commit_position.h'), gn_build_dir)
subprocess.check_call(
[ninja_binary, '-C', gn_build_dir, '-w', 'dupbuild=err', 'gn'])
shutil.copy2(os.path.join(gn_build_dir, 'gn'), gn_path)
if not options.skip_generate_buildfiles:
gn_gen_args = options.gn_gen_args or ''
if not options.debug:
gn_gen_args += ' is_debug=false'
subprocess.check_call([
- gn_path, 'gen', out_dir,
+ gn_path, 'gen', out_dir, ' --script-executable=/usr/bin/python3',
'--args=%s' % gn_gen_args, "--root=" + SRC_ROOT
])
if __name__ == '__main__':
sys.exit(main(sys.argv[1:]))
--
2.25.4