diff options
author | João Duarte <jvsDuarte08@gmail.com> | 2019-08-16 10:44:10 -0700 |
---|---|---|
committer | João Duarte <jvsDuarte08@gmail.com> | 2019-08-16 10:44:10 -0700 |
commit | bb07c44d5a0dbd76fc9c4650a8fdef383d127ad2 (patch) | |
tree | d7189051b67bd66782256d264e79e90182b76e3c /util | |
parent | 68f40ef5ff40602553077c333e5f050b1edbb1c0 (diff) | |
download | prosody-bb07c44d5a0dbd76fc9c4650a8fdef383d127ad2.tar.gz prosody-bb07c44d5a0dbd76fc9c4650a8fdef383d127ad2.zip |
util.paths: Fixed file termination for package.cpath's extra path
Diffstat (limited to 'util')
-rw-r--r-- | util/paths.lua | 2 |
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 |