Mispelling.

This commit is contained in:
Adam Harrison 2021-09-22 17:25:16 -04:00
parent b8da46e10e
commit 466464d8a4
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ package.path = USERDIR .. '/?/init.lua;' .. package.path
local dynamic_suffix = PLATFORM == "Mac OS X" and 'lib' or (PLATFORM == "Windows" and 'dll' or 'so') local dynamic_suffix = PLATFORM == "Mac OS X" and 'lib' or (PLATFORM == "Windows" and 'dll' or 'so')
package.cpath = DATADIR .. '/?.' .. dynamic_suffix .. ";" .. USERDIR .. '/?.' .. dynamic_suffix package.cpath = DATADIR .. '/?.' .. dynamic_suffix .. ";" .. USERDIR .. '/?.' .. dynamic_suffix
package.native_plugins = {} package.native_plugins = {}
package.searchers = { package.seachers[1], package.searchers[2], function(modname) package.searchers = { package.searchers[1], package.searchers[2], function(modname)
local path = package.searchpath(modname, package.cpath) local path = package.searchpath(modname, package.cpath)
if not path then return nil end if not path then return nil end
return system.load_native_plugin, path return system.load_native_plugin, path