Merge pull request #587 from Faless/fix/osx_names

pull/619/head
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
1 changed files with 5 additions and 2 deletions

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(