Re: luafilesystem makefile issue
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: luafilesystem makefile issue
- From: Tomas <tomas@...>
- Date: 2005年4月12日 11:55:09 -0300 (BRST)
> 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