[Buildroot] [PATCH] luarocks: fix compilation on 64bits

Mike Zick minimod at morethan.org
Wed Jan 15 12:59:05 UTC 2014


On Wed, 15 Jan 2014 13:14:54 +0100
Peter Korsgaard <jacmet at uclibc.org> wrote:

>  >> What about BR2_PREFER_STATIC_LIB (for both CFLAGS and LDFLAGS
>  >> lines)?  
> 
>  > native Lua modules/extensions are always shared lib.  
> 
> Ok, committed with a reworded commit message, thanks.
>

"Close enough" for the purposes of Buildroot.

Both modules and extensions in either native Lua or as
objects from foreign languages (such as "C") may be 
statically linked into the Lua interpreter.

The process and changes required are well documented,
but would probably be impractical to automate in the
build system.

So the answer for the BR2_PREFER_STATIC_LIB question is:
"Not supported within the Buildroot system."
or on a positive note:
"Buildroot only supports Lua externals as dynamic libraries."

Mike



More information about the buildroot mailing list