aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoão Duarte <jvsDuarte08@gmail.com>2019-08-16 10:44:10 -0700
committerJoão Duarte <jvsDuarte08@gmail.com>2019-08-16 10:44:10 -0700
commitbb07c44d5a0dbd76fc9c4650a8fdef383d127ad2 (patch)
treed7189051b67bd66782256d264e79e90182b76e3c
parent68f40ef5ff40602553077c333e5f050b1edbb1c0 (diff)
downloadprosody-bb07c44d5a0dbd76fc9c4650a8fdef383d127ad2.tar.gz
prosody-bb07c44d5a0dbd76fc9c4650a8fdef383d127ad2.zip
util.paths: Fixed file termination for package.cpath's extra path
-rw-r--r--util/paths.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/paths.lua b/util/paths.lua
index de63111e..c225108a 100644
--- a/util/paths.lua
+++ b/util/paths.lua
@@ -53,7 +53,7 @@ function path_util.complement_lua_path(installer_plugin_path)
package.path = package.path..lua_path_sep..installer_plugin_path..dir_sep.."share"..sub_path.."?"..dir_sep.."init.lua";
end
if not string.match(package.path, installer_plugin_path) then
- package.cpath = package.cpath..lua_path_sep..installer_plugin_path..dir_sep.."lib"..sub_path.."?.lua";
+ package.cpath = package.cpath..lua_path_sep..installer_plugin_path..dir_sep.."lib"..sub_path.."?.so";
end
end