[Buildroot] [PATCH v2] package/luajit: luajit.pc: return the path to host-luajit from the Buildroot package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun May 1 21:32:14 UTC 2016


Hello,

On Sun,  1 May 2016 23:22:08 +0200, Romain Naour wrote:
> The luajit.pc file is manually generated in the luajit Makefile, so it give a wrong
> path for host-luajit.
> 
> $ output/host/usr/bin/pkgconf --cflags luajit
> /usr/include/luajit-2.0
> 
> It should be:
> $ output/host/usr/bin/pkgconf --cflags luajit
> [...]output/host/usr/include/luajit-2.0
> 
> Set PREFIX with $(HOST_DIR)/usr and remove DESTDIR since the installation path
> is DPREFIX=$(DESTDIR)$(PREFIX).
> Otherwise the host-luajit is installed to output/host/home/[...]/output/host/usr
> 
> Signed-off-by: Romain Naour <romain.naour at gmail.com>
> Cc: Gustavo Zacarias <gustavo at zacarias.com.ar>
> ---
> v2: remove the post install hook and set PREFIX with $(HOST_DIR)/usr (ThomasP)
> ---
>  package/luajit/luajit.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

I've quite significantly rewritten the commit log, 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