From fe56effa55147a7deb8ee754c092af899e662c73 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 4 Mar 2022 15:03:02 +0000 Subject: util.struct: Import Roberto 'struct' library v0.3 Downloaded from http://www.inf.puc-rio.br/~roberto/struct/ This is for compatibility with Lua 5.2 (and 5.1). Eventually we can replace this with string.pack/string.unpack which are available in 5.3+. --- GNUmakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'GNUmakefile') diff --git a/GNUmakefile b/GNUmakefile index a86a0b7e..829a1c3e 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -31,7 +31,9 @@ ifeq ($(EXCERTS),yes) -$(MAKE) -C certs localhost.crt example.com.crt endif -install: prosody.install prosodyctl.install prosody.cfg.lua.install util/encodings.so util/encodings.so util/pposix.so util/signal.so +CMODULES=util/encodings.so util/encodings.so util/pposix.so util/signal.so util/struct.so + +install: prosody.install prosodyctl.install prosody.cfg.lua.install $(CMODULES) $(MKDIR) $(BIN) $(CONFIG) $(MODULES) $(SOURCE) $(MKDIR_PRIVATE) $(DATA) $(MKDIR) $(MAN)/man1 -- cgit v1.2.3