[OE-core] [PATCH 2/2] cmake: Avoid accidentally including libacl.h

Chris Larson clarson at kergoth.com
Thu Apr 10 14:50:11 UTC 2014


On Thu, Apr 10, 2014 at 7:45 AM, Mike Crowe <mac at mcrowe.com> wrote:

> On Tuesday 08 April 2014 at 09:37:32 -0700, Chris Larson wrote:
> > On Tue, Apr 8, 2014 at 6:51 AM, Mike Crowe <mac at mcrowe.com> wrote:
> >
> > > The cmake recipe doesn't depend on libacl yet cmake will detect
> libacl.h
> > > and use it by default. This risks build failures if libacl.h is
> unstaged
> > > during the build and it also means that the build cmake will sometimes
> > > support ACLs and sometimes not.
> > >
> >
> > Is this not also a concern for the non-native recipe? And wouldn't it be
> > better yet to use PACKAGECONFIG, rather than hardcoding the disable of
> acl
> > support?
>
> libacl is used by cmake's internal libarchive implementation. The
> cmake-native recipe makes use of that but the non-native cmake recipe
> depends on the real libarchive so cmake doesn't use libacl itself.
>

Ah, understood. Nevermind then, it's likely not worthwhile to switch it to
PACKAGECONFIG, but I wanted to confirm. Thanks!
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20140410/7a5cb74a/attachment-0002.html>


More information about the Openembedded-core mailing list