Mercurial > prosody-hg
diff util/paths.lua @ 14197:3b26b8772fb1
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 26 May 2026 12:31:32 +0100 |
| parents | de95e133af8e |
| children |
line wrap: on
line diff
--- a/util/paths.lua Tue May 26 11:47:33 2026 +0100 +++ b/util/paths.lua Tue May 26 12:31:32 2026 +0100 @@ -62,7 +62,7 @@ package.path = package.path..lua_path_sep..installer_plugin_path..dir_sep.."share"..sub_path.."?.lua"; package.path = package.path..lua_path_sep..installer_plugin_path..dir_sep.."share"..sub_path.."?"..dir_sep.."init.lua"; end - if not string.find(package.path, installer_plugin_path, 1, true) then + if not string.find(package.cpath, installer_plugin_path, 1, true) then package.cpath = package.cpath..lua_path_sep..installer_plugin_path..dir_sep.."lib"..sub_path.."?.so"; end end
