--- Makefile.orig	2026-04-23 12:06:09 UTC
+++ Makefile
@@ -72,7 +72,7 @@ LUA_VER?=5.5
 BUILD_DIR=build
 
 LUA_VER?=5.5
-LUA_LIBNAME?=lua$(LUA_VER)
+LUA_LIBNAME?=lua-$(LUA_VER)
 
 SUBDIR_BASE=sjasm
 SUBDIR_LUA=lua$(LUA_VER)
@@ -282,7 +282,7 @@ $(SUBDIR_DOCS)/documentation.html: Makefile $(sort $(w
 		--stringparam html.stylesheet docbook.css \
 		--stringparam generate.toc "book toc" \
 		-o $(SUBDIR_DOCS)/documentation.html \
-		$(SUBDIR_DOCS)/docbook-xsl-ns-html-customization-linux.xsl \
+		$(SUBDIR_DOCS)/docbook-xsl-ns-html-customization-freebsd.xsl \
 		$(SUBDIR_DOCS)/documentation.xml
 
 clean:
