Windows preferes dll over so
This commit is contained in:
parent
6781dabe7b
commit
f67179197a
2 changed files with 1 additions and 1 deletions
BIN
kpse.dll
Normal file
BIN
kpse.dll
Normal file
Binary file not shown.
|
@ -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…
Add table
Add a link
Reference in a new issue