On 7 October 2012 12:10, Daniel Stone <[email protected]> wrote: > On 5 October 2012 21:47, Richard Purdie > <[email protected]> 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 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
