Skip to content

Commit bcf7e7e

Browse files
AlexanderGabrieltbonfort
authored andcommitted
Fix LNK2019 build error on windows (#5346)
Fixes error in maphttp.c.obj LNK2019 unresolved external symbol "__imp__select@20" in function "_msHTTPExecuteRequests"
1 parent 2ab0dc0 commit bcf7e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ ms_link_libraries( ${CMAKE_DL_LIBS} m )
857857
endif(UNIX)
858858

859859
if (WIN32)
860-
ms_link_libraries( ${MS_EXTERNAL_LIBS})
860+
ms_link_libraries( ${MS_EXTERNAL_LIBS} ws2_32.lib)
861861
endif (WIN32)
862862

863863
configure_file (

0 commit comments

Comments
 (0)