$OpenBSD$

Index: src/xrCore/CMakeLists.txt
--- src/xrCore/CMakeLists.txt.orig
+++ src/xrCore/CMakeLists.txt
@@ -60,8 +60,9 @@ set_target_properties(${PROJECT_NAME} PROPERTIES PREFI
 target_link_libraries(
     ${PROJECT_NAME}
     xrMiscMath
-    dl
     pthread
+    c
+    execinfo
     $<$<STREQUAL:${MEMORY_ALLOCATOR},mimalloc>:mimalloc-static>
     ${PCRE_LIBRARIES}
     ${SDL_LIBRARIES}
