--- tpool/CMakeLists.txt.orig	2020-06-23 15:10:18 UTC
+++ tpool/CMakeLists.txt
@@ -1,4 +1,5 @@
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${PROJECT_SOURCE_DIR}/include)
+ADD_DEFINITIONS(-fPIC)
 IF(WIN32)
   SET(EXTRA_SOURCES tpool_win.cc aio_win.cc)
 ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
