Mono: Fix detection of Apple platforms in build script
(cherry picked from commit 5b040ef2e8
)
This commit is contained in:
parent
41e385cfac
commit
4c325c0732
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue