commit 24390b8d6b836ccf8010ea36dd556fe096511ce0
parent 4718bae098d4cb9bbba6893c3b408c1feef37560
Author: Joris Vink <joris@coders.se>
Date: Mon, 23 Jan 2023 21:33:11 +0100
Allow setting of LUA_VERSION for pkg-config.
Diffstat:
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -119,8 +119,8 @@ endif
ifneq ("$(LUA)", "")
S_SRC+=src/lua.c
- KORE_LUA_LIB?=$(shell pkg-config --libs lua)
- KORE_LUA_INC?=$(shell pkg-config --cflags lua)
+ KORE_LUA_LIB?=$(shell pkg-config --libs lua$(LUA_VERSION))
+ KORE_LUA_INC?=$(shell pkg-config --cflags lua$(LUA_VERSION))
LDFLAGS+=$(KORE_LUA_LIB)
CFLAGS+=$(KORE_LUA_INC) -DKORE_USE_LUA
FEATURES+=-DKORE_USE_LUA