[OE-core] [PATCH] libdrm: Explicitly disable the cairo dependency

Daniel Stone daniel at fooishbar.org
Mon Oct 8 05:44:17 UTC 2012


On 7 October 2012 12:10, Daniel Stone <daniel at fooishbar.org> wrote:
> On 5 October 2012 21:47, Richard Purdie
> <richard.purdie at linuxfoundation.org> wrote:
>> We don't want the cairo dependency. Unfortunately simply checking whether its present
>> isn't good enough. If its not in DEPENDS, it can disappear half way through building.
>> We therefore need to explicitly disable it.
>
> I've done roughly the same thing in this commit:
> http://cgit.collabora.com/git/user/daniels/poky.git/commit/?id=96a6e8e9eb7c086be3fcbde6a38ac3b699fca008
>
> which has already been submitted upstream:
> http://lists.freedesktop.org/archives/dri-devel/2012-October/028514.html

My patch also has the advantage of not trying to link against Cairo if
it's present but disabled.  Without this, if you build libdrm, build
Cairo, clean libdrm and attempt to rebuild it again, the rebuild will
fail, because the test still attempts to link with -lcairo, which
fails as Cairo's .la file references libdrm.

Cheers,
Daniel




More information about the Openembedded-core mailing list