util.paths: Fixed file termination for package.cpath's extra path
authorJoão Duarte <jvsDuarte08@gmail.com>
Fri, 16 Aug 2019 10:44:10 -0700
changeset 10208 fbd4a5bc3a01
parent 10207 3beb37ed7f32
child 10209 ff8de86b75f0
util.paths: Fixed file termination for package.cpath's extra path
util/paths.lua
--- a/util/paths.lua	Fri Aug 16 09:26:36 2019 -0700
+++ b/util/paths.lua	Fri Aug 16 10:44:10 2019 -0700
@@ -53,7 +53,7 @@
 		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