lua-users home
lua-l archive

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


> This library is used for lua to acces
> the luafilesystem functions, am I right?
	Yes.

> The question is : is it
> possible to built luafilesystem staticly in lua to avoid the use of a
> shared lib?
	Sure!  You'll need to change the Makefile to build a static
library.  Do you know how to do that?  Then, the static library should
be used to build the launcher executable, BUT you'll have to call the
initialization function (luaopen_lfs) or register it at `package.preload'
table (this way, require() will find it when trying to load the package).

> Will cgilua be still compatible with such a build?
	Yes.

	If you need more details, please ask!
		Tomas