aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--premake5.lua3
-rw-r--r--src/lush.c1
2 files changed, 2 insertions, 2 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
diff --git a/src/lush.c b/src/lush.c
index 8beed6a..88d2998 100644
--- a/src/lush.c
+++ b/src/lush.c
@@ -1510,7 +1510,6 @@ int main(int argc, char *argv[]) {
// Pop package and preload tables
lua_pop(L, 2);
// --- End pre-loading ---
- luaopen_compat53(L);
lua_register_api(L);
lua_run_init(L);