[autotools] skip modules build if LIGHTTPD_STATIC
@@ -118,6 +118,8 @@ common_libadd =
endif
common_module_ldflags = -module -export-dynamic $(common_ldflags)
+if !LIGHTTPD_STATIC
+
if BUILD_WITH_MAXMINDDB
lib_LTLIBRARIES += mod_maxminddb.la
mod_maxminddb_la_SOURCES = mod_maxminddb.c
@@ -393,6 +395,8 @@ mod_wstunnel_la_SOURCES = mod_wstunnel.c
mod_wstunnel_la_LDFLAGS = $(common_module_ldflags)
mod_wstunnel_la_LIBADD = $(common_libadd) $(CRYPTO_LIB)
+endif # !LIGHTTPD_STATIC
+
hdr = base64.h buffer.h burl.h network.h log.h http_kv.h keyvalue.h \
response.h request.h reqpool.h chunk.h h2.h \
