From 7c7923ac6a2d15a86257f6ca9ec7c0b1ecadbac9 Mon Sep 17 00:00:00 2001 From: Egutierrez Date: Fri, 15 May 2026 17:00:59 +0200 Subject: [PATCH] fix(win32): link ws2_32 para sockets (issue 0095) http_client + ws_client llaman socket(), send(), recv(), WSAStartup, etc. En MinGW-w64 hay que enlazar ws2_32 explicitamente o el linker falla con __imp_* undefined references. registry_dashboard ya lo hace igual. Co-Authored-By: Claude Opus 4.7 (1M context) --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ef071dc..f2ede28 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,5 +15,6 @@ if(TARGET fn_table_viz) endif() if(WIN32) + target_link_libraries(dag_engine_ui PRIVATE ws2_32) set_target_properties(dag_engine_ui PROPERTIES WIN32_EXECUTABLE TRUE) endif()