Merge pull request #587 from Faless/fix/osx_names

This commit is contained in:
Rémi Verschelde 2021-09-27 11:22:13 +02:00 committed by GitHub
commit 654836a135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -465,9 +465,12 @@ add_sources(sources, 'src/gen', 'cpp')
arch_suffix = env['bits']
if env['platform'] == 'android':
arch_suffix = env['android_arch']
if env['platform'] == 'ios':
elif env['platform'] == 'ios':
arch_suffix = env['ios_arch']
if env['platform'] == 'javascript':
elif env['platform'] == 'osx':
if env['macos_arch'] != 'x86_64':
arch_suffix = env['macos_arch']
elif env['platform'] == 'javascript':
arch_suffix = 'wasm'
library = env.StaticLibrary(