diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-12-30 15:07:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-30 15:07:18 +0100 |
commit | dcc7f2b54b562ad5a58dcd0dfe72ad8e6f05deb9 (patch) | |
tree | 8182a38f1be82c70d31b6c8610fdc0b6c117f73d /modules/webm/libvpx/SCsub | |
parent | 534044e8f8921d90677f7bc307dd2997d6eb873e (diff) | |
parent | d52100f4ffd3191ca070be34043c5a5343cd1a0b (diff) |
Merge pull request #24545 from akien-mga/osxcross-mono
SCons: Allow building Mono module with OSXCross
Diffstat (limited to 'modules/webm/libvpx/SCsub')
-rw-r--r-- | modules/webm/libvpx/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/webm/libvpx/SCsub b/modules/webm/libvpx/SCsub index 84e986630d..df75dca310 100644 --- a/modules/webm/libvpx/SCsub +++ b/modules/webm/libvpx/SCsub @@ -350,7 +350,7 @@ if webm_multithread: env_libvpx.add_source_files(env.modules_sources, libvpx_sources_mt) if webm_cpu_x86: - is_clang_or_gcc = ('gcc' in os.path.basename(env["CC"])) or ('clang' in os.path.basename(env["CC"])) or ("OSXCROSS_ROOT" in os.environ) + is_clang_or_gcc = ('gcc' in os.path.basename(env["CC"])) or ('clang' in os.path.basename(env["CC"])) or ("osxcross" in env) env_libvpx_mmx = env_libvpx.Clone() if cpu_bits == '32' and is_clang_or_gcc: |