You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2024/06/14 00:53:25 UTC

svn commit: r1918305 - /httpd/httpd/trunk/CMakeLists.txt

Author: covener
Date: Fri Jun 14 00:53:25 2024
New Revision: 1918305

URL: http://svn.apache.org/viewvc?rev=1918305&view=rev
Log:
fix cmake windows build of proxy lbmethod mods

(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



Modified:
    httpd/httpd/trunk/CMakeLists.txt

Modified: httpd/httpd/trunk/CMakeLists.txt
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CMakeLists.txt?rev=1918305&r1=1918304&r2=1918305&view=diff
==============================================================================
--- httpd/httpd/trunk/CMakeLists.txt (original)
+++ httpd/httpd/trunk/CMakeLists.txt Fri Jun 14 00:53:25 2024
@@ -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})