Unverified 提交 d6375849 authored 作者: Nazar Mokrynskyi's avatar Nazar Mokrynskyi 提交者: GitHub

Use non-ASM OpenSSL on Windows (#614)

上级 237f7b2a
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
'OPENSSL_NO_HW', 'OPENSSL_NO_HW',
], ],
'conditions': [ 'conditions': [
[ 'openssl_no_asm==1', { # Skip ASM on Windows due to linking challenges (see https://github.com/versatica/mediasoup/issues/604)
[ 'openssl_no_asm==1 or OS=="win"', {
'includes': ['./openssl_no_asm.gypi'], 'includes': ['./openssl_no_asm.gypi'],
}, 'target_arch=="arm64" and OS=="win"', { }, 'target_arch=="arm64" and OS=="win"', {
# VC-WIN64-ARM inherits from VC-noCE-common that has no asms. # VC-WIN64-ARM inherits from VC-noCE-common that has no asms.
......
...@@ -27,6 +27,7 @@ def host_arch(): ...@@ -27,6 +27,7 @@ def host_arch():
machine = platform.machine() machine = platform.machine()
if machine == 'i386': return 'ia32' if machine == 'i386': return 'ia32'
if machine == 'x86_64': return 'x64' if machine == 'x86_64': return 'x64'
if machine == 'AMD64': return 'x64'
if machine == 'aarch64': return 'arm64' if machine == 'aarch64': return 'arm64'
if machine == 'arm64': return 'arm64' if machine == 'arm64': return 'arm64'
if machine == 'mips64': return 'mips64el' if machine == 'mips64': return 'mips64el'
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论