From d33b2b136f867cf9b4d9ce764cc6a871e02fe76d Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Sat, 22 Oct 2022 21:59:44 +0100 Subject: [PATCH] a/os: Add comments about DSOs --- src/xrt/auxiliary/os/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/xrt/auxiliary/os/CMakeLists.txt b/src/xrt/auxiliary/os/CMakeLists.txt index 9bc1581ad..20679ea5f 100644 --- a/src/xrt/auxiliary/os/CMakeLists.txt +++ b/src/xrt/auxiliary/os/CMakeLists.txt @@ -4,6 +4,10 @@ #### # Main os library # +# Avoid linking with libraries that brings in DSOs as this +# library is used everywhere. Including libraries loaded in +# by applications like the OpenXR runtime library. +# add_library(aux_os STATIC os_documentation.h os_hid.h os_hid_hidraw.c os_threading.h) target_link_libraries(aux_os PUBLIC aux-includes xrt-pthreads)