From 713316e8b40b26abd3322521a0f52d887548e701 Mon Sep 17 00:00:00 2001 From: melpon Date: Mon, 3 Jul 2023 08:11:34 +0900 Subject: [PATCH] =?UTF-8?q?Windows=20=E3=81=A7=E3=81=AF=20openh264=20?= =?UTF-8?q?=E3=82=92=E5=85=A5=E3=82=8C=E3=81=AA=E3=81=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- run.py | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/run.py b/run.py index 18b864f0..ff7d685a 100644 --- a/run.py +++ b/run.py @@ -627,14 +627,15 @@ def install_deps(build_platform: PlatformTarget, target_platform: PlatformTarget else: add_path(os.path.join(install_dir, 'cmake', 'bin')) - # OpenH264 - install_openh264_args = { - 'version': version['OPENH264_VERSION'], - 'version_file': os.path.join(install_dir, 'openh264.version'), - 'source_dir': source_dir, - 'install_dir': install_dir, - } - install_openh264(**install_openh264_args) + if build_platform.os != 'windows': + # OpenH264 + install_openh264_args = { + 'version': version['OPENH264_VERSION'], + 'version_file': os.path.join(install_dir, 'openh264.version'), + 'source_dir': source_dir, + 'install_dir': install_dir, + } + install_openh264(**install_openh264_args) def cmake_path(path: str) -> str: