Permalink
Browse files

Fix LNK2019 build error on windows (#5346)

Fixes error in maphttp.c.obj LNK2019  unresolved external symbol
"__imp__select@20" in function "_msHTTPExecuteRequests"
  • Loading branch information...
1 parent 2ab0dc0 commit bcf7e7ef350abe8649b4ca1834d163912c3f5fc2 @AlexanderGabriel AlexanderGabriel committed with tbonfort Nov 7, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 CMakeLists.txt
View
@@ -857,7 +857,7 @@ ms_link_libraries( ${CMAKE_DL_LIBS} m )
endif(UNIX)
if (WIN32)
-ms_link_libraries( ${MS_EXTERNAL_LIBS})
+ms_link_libraries( ${MS_EXTERNAL_LIBS} ws2_32.lib)
endif (WIN32)
configure_file (

0 comments on commit bcf7e7e

Please sign in to comment.