mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 22:20:31 +00:00
- Also use lua-5.1 as default as it will allow users to use packages like neovim and luajit without any special configuration. Closes(supersedes) #12535 Signed-off-by: Aditya Alok <alok@termux.dev>
12 lines
575 B
Diff
12 lines
575 B
Diff
--- ./src/luarocks/core/cfg.lua 2022-11-01 02:42:26.659749921 +0530
|
|
+++ ./src/luarocks/core/cfg.lua 2022-11-01 02:39:51.899749980 +0530
|
|
@@ -360,7 +360,7 @@
|
|
defaults.static_lib_extension = "a"
|
|
defaults.external_lib_extension = "so"
|
|
defaults.obj_extension = "o"
|
|
- defaults.external_deps_dirs = { "/usr/local", "/usr", "/" }
|
|
+ defaults.external_deps_dirs = { "@TERMUX_PREFIX@/local", "@TERMUX_PREFIX@" }
|
|
|
|
defaults.variables.CFLAGS = os.getenv("CFLAGS") or "-O2"
|
|
-- we pass -fPIC via CFLAGS because of old Makefile-based Lua projects
|