From 24babecdd34c3b4671f64e7903c5f114e292d816 Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Sun, 30 May 2004 23:33:36 +0000 Subject: [PATCH] Updated with new dynamic linking scheme. --- etc/README | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/etc/README b/etc/README index 34b7074..623adf7 100644 --- a/etc/README +++ b/etc/README @@ -5,18 +5,17 @@ This directory contains code that is more useful than the examples. This code These are modules to suport dynamic loading of LuaSocket by the stand alone Lua Interpreter with the use of the "require" function. For my Mac OS X -system, I place lua.lua in /usr/local/lua, luasocket.lua and the -libluasocket.dylib in /usr/local/lua/luasocket and set the following -environment variables: +system, I place all files in /Users/diego/tec/luasocket +and set the following environment variables: - LUA_PATH=/usr/local/lua/?/?.lua - LUA_INIT=@/usr/local/lua/lua.lua - LUA_FUNCNAME=_? - LUA_LIBNAME=/usr/local/lua/?/lib?.dylib + LUA_PATH=/Users/diego/tec/luasocket/?.lua + LUA_INIT=@/Users/diego/tec/luasocket/lua.lua + LUA_FUNCNAME=? + LUA_LIBNAME=/Users/diego/tec/luasocket/?.dylib With that, I can run any luasocket application with the command line: - lua -l luasocket