Minor changes to find lua glue library, and to set the home directory on
the correct C/Lua structure
This commit is contained in:
parent
606ee0c668
commit
1f8267516a
|
@ -50,7 +50,8 @@ if f then
|
|||
extension = ".dylib"
|
||||
io.close(f)
|
||||
end
|
||||
glupkg = package.loadlib("libluanetpgp" .. extension, "luaopen_netpgp")
|
||||
glupkg = package.loadlib("./" .. "libluanetpgp" .. extension,
|
||||
"luaopen_netpgp")
|
||||
netpgp = glupkg()
|
||||
|
||||
-- initialise
|
||||
|
@ -70,7 +71,7 @@ if options.detached then
|
|||
detached = "detached"
|
||||
end
|
||||
if options.homedir then
|
||||
netpgp.homedir(netpgp, options.homedir)
|
||||
netpgp.homedir(pgp, options.homedir)
|
||||
end
|
||||
|
||||
-- initialise everything
|
||||
|
|
Loading…
Reference in New Issue