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) <noreply@anthropic.com>
This commit is contained in:
2026-05-15 17:00:59 +02:00
parent 7a38fe9a41
commit 7c7923ac6a
+1
View File
@@ -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()