diff --git a/lua/lua/lua.conf b/lua/lua/lua.conf index d6688c3f6..0a13d5aa2 100644 --- a/lua/lua/lua.conf +++ b/lua/lua/lua.conf @@ -16,6 +16,11 @@ # we patch in autotools support autogen=1 +# packages support +if atstage toolchain || ! pkginstalled readline; then + var_append extraconfopt ' ' '--without-readline' +fi + # create missing directories lua_postmake() { for x in "$lualibdir" "$luadatadir"; do