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

Romain Naour romain.naour at gmail.com
Mon May 2 07:31:18 UTC 2016


Hello,

Le 1 mai 2016 23:32, "Thomas Petazzoni" <thomas.petazzoni at free-electrons.com>
a écrit :
>
> 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!

OK, thanks.

Romain
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160502/98173d42/attachment-0002.html>


More information about the buildroot mailing list