[Buildroot] [PATCH v2, 1/1] lxc: enable lua if package is selected

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 18 11:33:07 UTC 2016


Hello,

On Sun, 18 Dec 2016 12:04:52 +0100, Fabrice Fontaine wrote:

> +ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y)
> +LXC_CONF_OPTS += --enable-lua
> +LXC_DEPENDENCIES += luainterpreter
> +ifeq ($(BR2_PACKAGE_LUAJIT),y)
> +# By default, lxc will only search for lua.pc
> +LXC_CONF_OPTS += --with-lua-pc=$(STAGING_DIR)/usr/lib/pkgconfig/luajit.pc

Passing --with-lua-pc=luajit is sufficient, so I've changed it this
way, and applied. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list