--- src/shared_modules/rsync/CMakeLists.txt.orig	2023-05-24 19:23:05 UTC
+++ src/shared_modules/rsync/CMakeLists.txt
@@ -72,7 +72,7 @@ elseif(UNIX AND NOT APPLE)
   endif(NOT CMAKE_SYSTEM_NAME STREQUAL "AIX")
 endif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
 
-target_link_libraries(rsync dbsync wazuhext)
+target_link_libraries(rsync nghttp2 dbsync wazuhext)
 
 if(CMAKE_BUILD_TYPE STREQUAL "Release")
   if(CMAKE_SYSTEM_NAME STREQUAL "AIX")
