Index: meson.build
--- meson.build.orig
+++ meson.build
@@ -599,12 +599,14 @@ if nsl_lib.found()
   network_deps += nsl_lib
 endif
 
+if host_machine.system() != 'openbsd'
 # Check for libatomic for use of C11 atomics: some architectures need
 # to link explicitly to this library.
 # TODO: Once meson 1.7 is in use, this can be updated to
 # dependency('atomic')
 atomic_dep = cc.find_library('atomic', required: false)
 platform_deps += atomic_dep
+endif
 
 gir = find_program('g-ir-scanner', required : get_option('introspection'))
 gnome = import('gnome')
