lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> No, they define the actual search path.
I changed my loadlib.c to save the library handles in the package
table.  You could do the same and maintain a list of where you
loaded things from. Beware that this all may change in work5.

> I would prefer to have everything pretty much self-contained.

1) Add LUA_PATHSEP to luaconf.h
2) Push it into the package table in loadlib.c or lbaselib.c (i cant 
remember which).

Recompile.  

DB