[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: INSTALL_TOP vs LUA_ROOT
- From: Brian McCallister <brianm@...>
- Date: Sun, 15 Oct 2006 15:49:25 -0700
I have noticed that the library values in the lua Makefile
INSTALL_TOP= /Users/brianm/.opt/lua-5.1.1
...
INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
are not used in the installed lua:
brianm@golem:~/work/lua-5.1.1$ ~/.opt/lua-5.1.1/bin/lua
Lua 5.1.1 Copyright (C) 1994-2006 Lua.org, PUC-Rio
> print(package.path)
./?.lua;/usr/local/share/lua/5.1/?.lua;/usr/local/share/lua/5.1/?/
init.lua;/usr/local/lib/lua/5.1/?.lua;/usr/local/lib/lua/5.1/?/init.lua
>
But that package.path seems to use the LUA_ROOT derived values in
luaconf.h. Is there a way to change this so that the search path
matches the install paths?
-Brian