diff --git a/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua b/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua index 0a798430cdee..9c895cdb87a4 100755 --- a/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua +++ b/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua @@ -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