From a8c78cf8ac69565836fd53b6f0036475c3fe783a Mon Sep 17 00:00:00 2001 From: melpon Date: Tue, 14 Nov 2023 11:24:50 +0900 Subject: [PATCH] =?UTF-8?q?=5F=5Fconfig=5Fsite=20=E3=81=AF=20buildtools=20?= =?UTF-8?q?=E3=81=AE=E4=B8=8B=E3=81=AB=E3=81=82=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/run.py b/run.py index 1b23e4cb..c9bdd358 100644 --- a/run.py +++ b/run.py @@ -408,10 +408,10 @@ def build_install_webrtc(version, source_dir, build_dir, install_dir, platform, # インクルードディレクトリを増やしたくないので、 # __config_site を libc++ のディレクトリにコピーしておく - libcxx_dir = os.path.join(source_dir, 'webrtc', 'src', 'third_party', 'libc++') - if not os.path.exists(os.path.join(libcxx_dir, 'src', 'include', '__config_site')): - shutil.copyfile(os.path.join(libcxx_dir, '__config_site'), - os.path.join(libcxx_dir, 'src', 'include', '__config_site')) + src_config = os.path.join(source_dir, 'webrtc', 'src', 'buildtools', 'third_party', 'libc++', '__config_site') + dst_config = os.path.join(source_dir, 'webrtc', 'src', 'third_party', 'libc++', 'src', 'include', '__config_site') + if not os.path.exists(dst_config): + shutil.copyfile(src_config, dst_config) class WebrtcInfo(NamedTuple):