Windows preferes dll over so
This commit is contained in:
parent
6781dabe7b
commit
f67179197a
@ -1,6 +1,6 @@
|
||||
do
|
||||
local ourpath = lua.startupfile:match('(.*[/\\])[^/\\]*%.lua$')
|
||||
kpse = assert(package.loadlib(ourpath .. 'kpse.so', 'luaopen_kpse'))()
|
||||
kpse = assert(package.loadlib(ourpath .. 'kpse.' .. (os.type == 'windows' and 'dll' or 'so'), 'luaopen_kpse'))()
|
||||
end
|
||||
local interaction
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user