diff --git a/meson.build b/meson.build index 5b0eea10a3f..ca5538c80e7 100644 --- a/meson.build +++ b/meson.build @@ -887,8 +887,9 @@ if not cc.links('''#include int main() { return __sync_add_and_fetch(&v, (uint64_t)1); }''', + dependencies : dep_atomic, name : 'GCC 64bit atomics') - pre_args += '-DMISSING_64_BIT_ATOMICS' + pre_args += '-DMISSING_64BIT_ATOMICS' endif # TODO: shared/static? Is this even worth doing?