Diff

util/paths.lua @ 10204:fbd4a5bc3a01

util.paths: Fixed file termination for package.cpath's extra path
author João Duarte <jvsDuarte08@gmail.com>
date Fri, 16 Aug 2019 10:44:10 -0700
parent 10200:48ee50ed9972
child 10402:0971694b30a8
line wrap: on
line diff
--- 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