From 6d653bc20ef8025d50fd4ef143b6bac2955fc74c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Fri, 16 Oct 2020 10:01:28 +0200 Subject: [PATCH] Fix detection of -latomic (it doesn't come from pkg-config). --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 341f60b..0c0a53f 100644 --- a/meson.build +++ b/meson.build @@ -7,7 +7,7 @@ cxx = meson.get_compiler('cpp') uringdep = dependency('liburing', required: false) zstddep = dependency('libzstd') threaddep = dependency('threads') -atomicdep = dependency('atomic', required: false) +atomicdep = cxx.find_library('atomic', required: false) if not uringdep.found() add_project_arguments('-DWITHOUT_URING', language: 'cpp') -- 2.39.2