mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 06:31:13 +00:00
Mono: Fix detection of Apple platforms in build script
This commit is contained in:
parent
fbaa55a8db
commit
5b040ef2e8
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ def configure(env, env_mono):
|
||||||
|
|
||||||
copy_file(mono_bin_path, '#bin', mono_dll_name + '.dll')
|
copy_file(mono_bin_path, '#bin', mono_dll_name + '.dll')
|
||||||
else:
|
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'
|
sharedlib_ext = '.dylib' if is_apple else '.so'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue