aboutsummaryrefslogtreecommitdiffstats
path: root/premake5.lua
diff options
context:
space:
mode:
authorGravatar Andrew D. France 2025-07-22 23:27:06 -0500
committerGravatar Andrew D. France 2025-07-22 23:27:06 -0500
commit69001c115100a19955249bfb6ec45ad332cd5ae8 (patch)
tree9f44f5bba12357eb70221fa132767213f1b6331f /premake5.lua
parentFixed the header path for compat: preload compat modules for lua within lua-i... (diff)
Compat53 library uses the floor function, which is part of the C math library (libm); removed the incorrect luaopen_compat53 call that was still present
Diffstat (limited to 'premake5.lua')
-rw-r--r--premake5.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/premake5.lua b/premake5.lua
index 20dfa8a..3ec299a 100644
--- a/premake5.lua
+++ b/premake5.lua
@@ -13,7 +13,8 @@ local lua_lib_path = "/usr/lib"
if os.findlib("lua5.4") then
lua_inc_path = "/usr/include/lua5.4"
lua_lib_path = "/usr/lib/5.4"
- links({ "lua5.4" })
+-- Readline for better interactive support, dl for dynamic loading, and m for the math library dependency
+ links({ "lua5.4", "readline", "dl", "m" })
else
links({ "lua" })
end