Skip to content

Commit

Permalink
fix cmake windows build of proxy lbmethod mods
Browse files Browse the repository at this point in the history
(for me at least, new-to-cmake on vstudio 2022)

Creating library mod_lbmethod_bybusyness.lib and object mod_lbmethod_bybusyness.exp
mod_lbmethod_bybusyness.c.obj : error LNK2019: unresolved external symbol __imp_ap_proxy_get_busy_count referenced in function is_best_bybusyness 
mod_lbmethod_bybusyness.c.obj : error LNK2019: unresolved external symbol __imp_ap_proxy_set_busy_count referenced in function is_best_bybusyness 
mod_lbmethod_bybusyness.so : fatal error LNK1120: 2 unresolved externals




git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918305 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
covener committed Jun 14, 2024
1 parent ea46c59 commit a34f334
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,10 @@ IF(LIBXML2_FOUND)
ENDIF()
SET(mod_proxy_scgi_extra_libs mod_proxy)
SET(mod_proxy_wstunnel_extra_libs mod_proxy)
SET(mod_lbmethod_bybusyness_extra_libs mod_proxy)
SET(mod_lbmethod_bytraffic_extra_libs mod_proxy)
SET(mod_lbmethod_byrequests_extra_libs mod_proxy)
SET(mod_lbmethod_heartbeat_extra_libs mod_proxy)
SET(mod_proxy_http2_requires NGHTTP2_FOUND)
SET(mod_proxy_http2_extra_defines ssize_t=long)
SET(mod_proxy_http2_extra_includes ${NGHTTP2_INCLUDE_DIR})
Expand Down

0 comments on commit a34f334

Please sign in to comment.