]> 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)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Apr 2014 10:41:03 +0000 (11:41 +0100)
commitfe9fe5ca5039743fc80d14f0518b95929c458b1a
tree13477a572eabe4391fa90cd569ef98328e3968d4
parentabb2571a6352fc33a8b78ab0886d443894cda3b6
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

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