--- src/makefile.orig 2020-12-21 10:56:19 UTC +++ src/makefile @@ -36,7 +36,7 @@ GUI_QT_DIR=./gui-qt/ INCLUDE_DIR=./include/ # try to detect Lua versioning scheme -LUA_PKG_NAME=lua5.3 +LUA_PKG_NAME=lua-$(LUA_VER) LUA_TEST=$(shell pkg-config --exists ${LUA_PKG_NAME}; echo $$?) ifeq (${LUA_TEST},1) @@ -75,7 +75,7 @@ LDFLAGS = -ldl #LDFLAGS = ${LDFLAGS} -s #LDFLAGS= -Wl,--as-needed -CXX_COMPILE=${CXX} ${CFLAGS} -c -I ${INCLUDE_DIR} ${LUA_CFLAGS} +CXX_COMPILE=${CXX} ${CFLAGS} -c -I ${INCLUDE_DIR} -I${LOCALBASE}/include ${LUA_CFLAGS} # Data directories (data dir, configuration file dir) CXX_DIR=-DHL_DATA_DIR=\"${HL_DATA_DIR}\" -DHL_CONFIG_DIR=\"${HL_CONFIG_DIR}\"