commit 42806c2ce1e2d36b066d246e9f74c15624cb2d92 parent 28414a36bcb2895de8385e6c2c090c2044be9d06 Author: phoebos <ben@bvnf.space> Date: Mon, 11 Nov 2024 22:20:21 +0000 Makefile: add a LUA macro to permit swapping to LuaJIT Diffstat:
M | Makefile | | | 7 | ++++--- |
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,12 +1,13 @@ .POSIX: PREFIX = /usr -LUA_LMOD = $$(pkgconf --variable=INSTALL_LMOD lua) -LUA_CMOD = $$(pkgconf --variable=INSTALL_CMOD lua) +LUA = lua +LUA_LMOD = $$(pkgconf --variable=INSTALL_LMOD $(LUA)) +LUA_CMOD = $$(pkgconf --variable=INSTALL_CMOD $(LUA)) CFLAGS = -Wall -Wextra -pedantic LDFLAGS = -shared -fPIC -LIBS = $$(pkgconf --libs lua) +LIBS = $$(pkgconf --libs $(LUA)) all: bliss/b3sum.so