]> git.sesse.net Git - plocate/commitdiff
Fix detection of -latomic (it doesn't come from pkg-config).
authorSteinar H. Gunderson <steinar+git@gunderson.no>
Fri, 16 Oct 2020 08:01:28 +0000 (10:01 +0200)
committerSteinar H. Gunderson <steinar+git@gunderson.no>
Fri, 16 Oct 2020 08:01:28 +0000 (10:01 +0200)
meson.build

index 341f60b877eaa5df081657ddbc234f0f268631cb..0c0a53f20bd74fb5879105090f7b90b2c159e3ab 100644 (file)
@@ -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')