[Buildroot] [PATCH] libselinux: set PREFIX to generate proper .pc file

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jan 7 19:40:07 UTC 2018


Hello,

On Sun, 7 Jan 2018 17:51:32 +0100, Marcus Folkesson wrote:

> > > If PREFIX=/usr at install time, it tries to install on the host
> > > system.  
> > 
> > That's bogus.  
> 
> Just to make clear - *this* package will try to install on the host
> system.

I don't follow you here.

> >  - We fix libselinux Makefile to have a more standard DESTDIR/PREFIX
> >    usage.  
> 
> I think we should go for this one in the long run.
> I will try to come up with something and get it upstreams for the
> selinux project.
> 
> Should we keep libselinux Makefile as-is in meanwhile or add patches?

We can add patches, especially if you are pushing them upstream.

Thanks!

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



More information about the buildroot mailing list