From 97c5b8c3a71c0a43f3eaea5d59704e7de1861998 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Wed, 13 Jul 2022 07:02:17 +1000 Subject: [PATCH] [host] fix building under void linux Closes #1012 --- host/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt index b28469b9..24669423 100644 --- a/host/CMakeLists.txt +++ b/host/CMakeLists.txt @@ -74,8 +74,9 @@ include_directories( ${CMAKE_BINARY_DIR}/include ) -#link_libraries( -#) +link_libraries( + ${CMAKE_DL_LIBS} +) if (ENABLE_ASAN OR ENABLE_UBSAN) link_directories("c:/msys64/clang64/lib/clang/12.0.0/lib/windows")