Index: tests/meson.build
--- tests/meson.build.orig
+++ tests/meson.build
@@ -62,7 +62,11 @@ foreach tname : nice_tests
     install: false)
   set_variable(tname.underscorify(), exe)
   if tname == 'test-slow-resolving'
-    dl_dep = cc.find_library('dl')
+    if host_machine.system() == 'openbsd'
+      dl_dep = []
+    else
+      dl_dep = cc.find_library('dl')
+    endif
     preload_lib = shared_library('slow-resolver', 'slow-resolver.c', dependencies: [dl_dep])
     preload_env = environment()
     preload_env.append('LD_PRELOAD', preload_lib.full_path())
@@ -96,7 +100,11 @@ if gst_dep.found() and not static_build
       '-UG_DISABLE_CAST_CHECKS',
     ]
     gst_env = environment()
-    dl_dep = cc.find_library('dl')
+    if host_machine.system() == 'openbsd'
+      dl_dep = []
+    else
+      dl_dep = cc.find_library('dl')
+    endif
     instrument_send_lib = shared_library('instrument-send',
       'instrument-send.c',
       c_args: '-DG_LOG_DOMAIN="libnice-instrument-send"',
