[Buildroot] [PATCH 1/2] package/luajit: build host variant dynamically

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Mar 20 21:35:59 UTC 2016


Hello,

On Sat,  5 Mar 2016 00:00:42 +0100, Romain Naour wrote:

> +# host-efl package needs host-luajit to be linked dynamically.
>  define HOST_LUAJIT_BUILD_CMDS
> -	$(MAKE) PREFIX="/usr" BUILDMODE=static -C $(@D) amalg
> +	$(MAKE) PREFIX="/usr" BUILDMODE=dynamic \
> +		TARGET_LDFLAGS="$(HOST_LDFLAGS) -Wl,-rpath,$(HOST_DIR)/usr/lib/" \

-Wl,-rpath,... is already in HOST_LDFLAGS, so adding it is not
necessary. Passing HOST_LDFLAGS is sufficient.

I've fixed that up, adjusted the commit log accordingly, and applied.

Thanks!

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


More information about the buildroot mailing list