]> code.ossystems Code Review - openembedded-core.git/commit
libav: Add libsdl to DEPENDS only when x11 is enabled
authorKhem Raj <raj.khem@gmail.com>
Sat, 19 Apr 2014 09:59:28 +0000 (02:59 -0700)
committerSaul Wold <sgw@linux.intel.com>
Fri, 23 May 2014 16:09:38 +0000 (09:09 -0700)
commit740deb02b653d1c5174be99c3093dac5af73f6ff
tree1621c94910a3b469f98160e8c3414c4ef4b2153e
parent63281707f0360e97e43d08f022e8aa2c1df131fa
libav: Add libsdl to DEPENDS only when x11 is enabled

When we have opengl in distro features but not x11 and try to
build libav then it calls out to build libsdl which inturn has depependency on libglu
and libglu fails to build

ld: error: cannot find -lGL
| collect2: error: ld returned 1 exit status
| make: *** [libGLU.la] Error 1
| ERROR: oe_runmake failed

since libglu wants glx enabled in mesa and glx in mesa is (righly) enabled only when x11
is in distro features.

This breaks the dependency chain leading to this problem

(From OE-Core rev: fe9fe5ca5039743fc80d14f0518b95929c458b1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/libav/libav.inc