From e53d09e265a217928e1436208e0f9057aa8ef7ae Mon Sep 17 00:00:00 2001 From: Roy Li Date: Tue, 14 Jul 2015 15:08:25 +0800 Subject: piglit: Fix floating dependency on freeglut 71158fa1a623125[fix floating dependence on freeglut] is incomplete, so continue by removing glut.h header file when not enable freeglut Signed-off-by: Roy Li Signed-off-by: Robert Yang Signed-off-by: Ross Burton --- meta/recipes-graphics/piglit/piglit_git.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-graphics/piglit') diff --git a/meta/recipes-graphics/piglit/piglit_git.bb b/meta/recipes-graphics/piglit/piglit_git.bb index 3a8b0acfa2..0d825c9818 100644 --- a/meta/recipes-graphics/piglit/piglit_git.bb +++ b/meta/recipes-graphics/piglit/piglit_git.bb @@ -24,6 +24,7 @@ PACKAGECONFIG[freeglut] = "-DPIGLIT_USE_GLUT=1,-DPIGLIT_USE_GLUT=0,freeglut," do_configure_prepend() { if [ "${@bb.utils.contains('PACKAGECONFIG', 'freeglut', 'yes', 'no', d)}" = "no" ]; then sed -i -e "/^#.*include $/d" ${S}/src/piglit/glut_wrap.h + sed -i -e "/^#.*include.*$/d" ${S}/src/piglit/glut_wrap.h fi } -- cgit 1.2.3-korg