Skip to content

Commit

Permalink
__config_site は buildtools の下にある
Browse files Browse the repository at this point in the history
  • Loading branch information
melpon committed Nov 14, 2023
1 parent 1ce9b71 commit a8c78cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit a8c78cf

Please sign in to comment.