aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2025-07-27 10:56:29 +0200
committerBenoit Germain <bnt.germain@gmail.com>2025-07-27 10:56:29 +0200
commit4c82cf6084dd52c73a788bd7c8047fa133cd41c9 (patch)
treef78b8237d1cc49dc4ba46839d78d75ad0283d11b
parentcbcd7d3860db0124feb5e512d11ebee81ccd62c7 (diff)
downloadlanes-4c82cf6084dd52c73a788bd7c8047fa133cd41c9.tar.gz
lanes-4c82cf6084dd52c73a788bd7c8047fa133cd41c9.tar.bz2
lanes-4c82cf6084dd52c73a788bd7c8047fa133cd41c9.zip
Tiny makefile tweak for Lua 5.5
-rw-r--r--Shared.makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Shared.makefile b/Shared.makefile
index d1a96fb..3809538 100644
--- a/Shared.makefile
+++ b/Shared.makefile
@@ -30,7 +30,7 @@ ifeq "$(LUAROCKS)" ""
30 $(warning LUA_DEV not defined - try i.e. 'make LUA_DEV=/c/Program\ Files/Lua/5.1') 30 $(warning LUA_DEV not defined - try i.e. 'make LUA_DEV=/c/Program\ Files/Lua/5.1')
31 # this assumes Lua was built and installed from source and everything is located in default folders (/usr/local/include and /usr/local/bin) 31 # this assumes Lua was built and installed from source and everything is located in default folders (/usr/local/include and /usr/local/bin)
32 LUA_FLAGS := -I "/usr/local/include" 32 LUA_FLAGS := -I "/usr/local/include"
33 LUA_LIBS := $(word 1,$(shell which lua54.$(_SO) 2>/dev/null) $(shell which lua53.$(_SO) 2>/dev/null) $(shell which lua52.$(_SO) 2>/dev/null) $(shell which lua51$(_SO) 2>/dev/null)) 33 LUA_LIBS := $(word 1,$(shell which lua55.$(_SO) 2>/dev/null) $(shell which lua54.$(_SO) 2>/dev/null) $(shell which lua53.$(_SO) 2>/dev/null) $(shell which lua52.$(_SO) 2>/dev/null) $(shell which lua51$(_SO) 2>/dev/null))
34 $(info detected LUA_LIBS as $(LUA_LIBS)) 34 $(info detected LUA_LIBS as $(LUA_LIBS))
35 else 35 else
36 LUA_FLAGS := -I "$(LUA_DEV)/include" 36 LUA_FLAGS := -I "$(LUA_DEV)/include"