diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-03-05 09:00:41 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-03-05 09:00:41 +0100 |
commit | 5b040ef2e832ea730d1e3d7755b36386a053fd4c (patch) | |
tree | 2cb273af02af0bfedb1b0b2b3c2b64bbe9e7643d | |
parent | fbaa55a8db90ab7643718b4004b7760517942e3f (diff) |
Mono: Fix detection of Apple platforms in build script
-rw-r--r-- | modules/mono/build_scripts/mono_configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/build_scripts/mono_configure.py b/modules/mono/build_scripts/mono_configure.py index 033c467da9..9a6198f13a 100644 --- a/modules/mono/build_scripts/mono_configure.py +++ b/modules/mono/build_scripts/mono_configure.py @@ -163,7 +163,7 @@ def configure(env, env_mono): copy_file(mono_bin_path, '#bin', mono_dll_name + '.dll') else: - is_apple = (sys.platform == 'darwin' or "osxcross" in env) + is_apple = env['platform'] in ['osx', 'iphone'] sharedlib_ext = '.dylib' if is_apple else '.so' |