diff --git a/meson.build b/meson.build index dabfb9abddd..58ff3ea9735 100644 --- a/meson.build +++ b/meson.build @@ -905,8 +905,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?