Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/netpgp/dist/bindings/lua Use LD_LIBRARY_...
details: https://anonhg.NetBSD.org/src/rev/4cc80c1dded6
branches: trunk
changeset: 748277:4cc80c1dded6
user: agc <agc%NetBSD.org@localhost>
date: Mon Oct 19 01:07:08 2009 +0000
description:
Use LD_LIBRARY_PATH to manage the library path, and don't try to second
guess from the lua driver program
diffstat:
crypto/external/bsd/netpgp/dist/bindings/lua/Makefile | 7 +++++--
crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua | 3 +--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (35 lines):
diff -r 11c0defbfa5c -r 4cc80c1dded6 crypto/external/bsd/netpgp/dist/bindings/lua/Makefile
--- a/crypto/external/bsd/netpgp/dist/bindings/lua/Makefile Mon Oct 19 00:29:30 2009 +0000
+++ b/crypto/external/bsd/netpgp/dist/bindings/lua/Makefile Mon Oct 19 01:07:08 2009 +0000
@@ -11,6 +11,9 @@
WARNS=4
.include <bsd.lib.mk>
+.include <bsd.own.mk>
+
+LUANETPGPOBJDIR != cd ${.CURDIR} && ${PRINTOBJDIR}
OPSYS!= uname -s
@@ -28,6 +31,6 @@
.else
t:
cp Makefile a
- ./netpgp.lua --sign --detached a
- ./netpgp.lua --verify a.sig
+ env LD_LIBRARY_PATH=${LUANETPGPOBJDIR}:/lib:/usr/lib:${PREFIX}/lib ./netpgp.lua --sign --detached a
+ env LD_LIBRARY_PATH=${LUANETPGPOBJDIR}:/lib:/usr/lib:${PREFIX}/lib ./netpgp.lua --verify a.sig
.endif
diff -r 11c0defbfa5c -r 4cc80c1dded6 crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua
--- a/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua Mon Oct 19 00:29:30 2009 +0000
+++ b/crypto/external/bsd/netpgp/dist/bindings/lua/netpgp.lua Mon Oct 19 01:07:08 2009 +0000
@@ -50,8 +50,7 @@
extension = ".dylib"
io.close(f)
end
-glupkg = package.loadlib("./" .. "libluanetpgp" .. extension,
- "luaopen_netpgp")
+glupkg = package.loadlib("libluanetpgp" .. extension, "luaopen_netpgp")
netpgp = glupkg()
-- initialise
Home |
Main Index |
Thread Index |
Old Index