--- tpool/CMakeLists.txt.orig	2025-07-28 18:18:16 UTC
+++ tpool/CMakeLists.txt
@@ -11,7 +11,7 @@ TARGET_INCLUDE_DIRECTORIES(tpool PUBLIC "${CMAKE_CURRE
 
 TARGET_INCLUDE_DIRECTORIES(tpool PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}"
  PRIVATE ${PROJECT_SOURCE_DIR}/include)
-
+ADD_DEFINITIONS(-fPIC)
 IF(WIN32)
   TARGET_SOURCES(tpool PRIVATE tpool_win.cc aio_win.cc)
 ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
