summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2023-02-01 20:26:35 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2023-02-04 03:18:16 -0500
commit5e9f4748f69639c61c3b647c04c6abb3141c1942 (patch)
tree77c4568a14d5c6483a98a6ff900868daa8abf4fd
parentc8d62091797ff00d8e6a5a98c7d58ddd3d4da108 (diff)
downloadlighttpd-git-5e9f4748f69639c61c3b647c04c6abb3141c1942.tar.gz
[autotools] skip modules build if LIGHTTPD_STATIC
-rw-r--r--src/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index e618d44c..1d376c7c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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 \