Pass -latomic on sh4 architecture too

Same as #372.

I originally missed this because meson didn't know about sh4 until
recently (c.f. https://github.com/mesonbuild/meson/pull/7359), but
this should work fine on older meson versions too.
This commit is contained in:
Kunal Mehta 2020-07-14 17:22:55 -07:00 committed by GitHub
parent 1367c5630f
commit 5913f7efab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ if 'java' in wrapper
endif endif
# See https://github.com/kiwix/kiwix-lib/issues/371 # See https://github.com/kiwix/kiwix-lib/issues/371
if target_machine.cpu_family() in ['arm', 'mips', 'm68k', 'ppc'] if target_machine.cpu_family() in ['arm', 'mips', 'm68k', 'ppc', 'sh4']
extra_libs += '-latomic' extra_libs += '-latomic'
endif endif