commit f48b8270954ee0fa54c8cec3eafd04c5a9283342
parent 42806c2ce1e2d36b066d246e9f74c15624cb2d92
Author: phoebos <ben@bvnf.space>
Date: Mon, 11 Nov 2024 22:28:54 +0000
Makefile: also use cflags for $LUA
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -5,7 +5,7 @@ LUA = lua
LUA_LMOD = $$(pkgconf --variable=INSTALL_LMOD $(LUA))
LUA_CMOD = $$(pkgconf --variable=INSTALL_CMOD $(LUA))
-CFLAGS = -Wall -Wextra -pedantic
+CFLAGS = -Wall -Wextra -pedantic $$(pkgconf --cflags $(LUA))
LDFLAGS = -shared -fPIC
LIBS = $$(pkgconf --libs $(LUA))