[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: luafilesystem makefile issue
- From: Tomas <tomas@...>
- Date: Tue, 12 Apr 2005 11:55:09 -0300 (BRST)
> This library is used for lua to acces
> the luafilesystem functions, am I right?
> 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?
If you need more details, please ask!