]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
fix cmake windows build of proxy lbmethod mods
authorEric Covener <covener@apache.org>
Fri, 14 Jun 2024 00:53:25 +0000 (00:53 +0000)
committerEric Covener <covener@apache.org>
Fri, 14 Jun 2024 00:53:25 +0000 (00:53 +0000)
(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

CMakeLists.txt

index 3c10b8f07ab339b3b091d92c0028722a3b527bb2..4ff89d049f718a043aab8c953bde6c3365e150d4 100644 (file)
@@ -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})