summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2023-05-11 12:36:24 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2023-05-11 12:36:24 -0400
commit42314fdc027b664818a7b8a2acbbd3a6774c84ad (patch)
tree5794fc20c5fc9c4ebd8432e24eed1b6024f97047
parent2892a7bf3f8ce92f41134fab25fbc2057f4a36bf (diff)
downloadlighttpd-git-42314fdc027b664818a7b8a2acbbd3a6774c84ad.tar.gz
[mod_magnet] fix static build using autoconf (fixes #3203)
(thx desmana) missing algo_hmac.c from static build (since removal of mod_secdownload in lighttpd 1.4.68) x-ref: "static build fails due to missing algo_hmac" https://redmine.lighttpd.net/issues/3203
-rw-r--r--src/Makefile.am3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0405bef4..c54ae229 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -433,8 +433,7 @@ lighttpd_SOURCES += mod_maxminddb.c
lighttpd_LDADD += $(MAXMINDDB_LIB)
endif
if BUILD_WITH_LUA
-lighttpd_SOURCES += mod_magnet.c mod_magnet_cache.c
- #algo_hmac.c
+lighttpd_SOURCES += mod_magnet.c mod_magnet_cache.c algo_hmac.c
lighttpd_CPPFLAGS += $(LUA_CFLAGS)
lighttpd_LDADD += $(LUA_LIBS) -lm
endif