mirror of
https://github.com/jorisvink/kore
synced 2025-03-08 19:19:02 -05:00
Allow setting of LUA_VERSION for pkg-config.
This commit is contained in:
parent
4718bae098
commit
24390b8d6b
4
Makefile
4
Makefile
@ -119,8 +119,8 @@ endif
|
|||||||
|
|
||||||
ifneq ("$(LUA)", "")
|
ifneq ("$(LUA)", "")
|
||||||
S_SRC+=src/lua.c
|
S_SRC+=src/lua.c
|
||||||
KORE_LUA_LIB?=$(shell pkg-config --libs lua)
|
KORE_LUA_LIB?=$(shell pkg-config --libs lua$(LUA_VERSION))
|
||||||
KORE_LUA_INC?=$(shell pkg-config --cflags lua)
|
KORE_LUA_INC?=$(shell pkg-config --cflags lua$(LUA_VERSION))
|
||||||
LDFLAGS+=$(KORE_LUA_LIB)
|
LDFLAGS+=$(KORE_LUA_LIB)
|
||||||
CFLAGS+=$(KORE_LUA_INC) -DKORE_USE_LUA
|
CFLAGS+=$(KORE_LUA_INC) -DKORE_USE_LUA
|
||||||
FEATURES+=-DKORE_USE_LUA
|
FEATURES+=-DKORE_USE_LUA
|
||||||
|
Loading…
x
Reference in New Issue
Block a user