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 | 930c50094c3d5f7d8ef01e9c3bcd93509f3c6693 (patch) | |
tree | d7189051b67bd66782256d264e79e90182b76e3c /util | |
parent | 7a596299b4c3fc79424130f2beb2cffe1a8caf02 (diff) | |
download | prosody-930c50094c3d5f7d8ef01e9c3bcd93509f3c6693.tar.gz prosody-930c50094c3d5f7d8ef01e9c3bcd93509f3c6693.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 |