package/mesa3d: Remove libGL headers/pkgconfig when OpenGL is disabled
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sun, 7 Jun 2015 21:11:22 +0000 (23:11 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 10 Jul 2015 22:30:54 +0000 (00:30 +0200)
commit1bd494f0a8fdeb4ebea9fd8df5bfe186f5b4f455
tree62114e5924d17b997bae8d09fba595353d8dfdab
parent5ba276de2a8f0387304e870995aa6d9a65e33e4a
package/mesa3d: Remove libGL headers/pkgconfig when OpenGL is disabled

mesa3d defaults to --enable-opengl due to its weird configure.ac:
http://git.buildroot.net/buildroot/commit/package/mesa3d/mesa3d.mk?id=384d601d4ea2c41bb7928f756bfe88af4d38b38b

This leads to include/GL/*.h and lib/pkgconfig/gl.pc being installed to
STAGING_DIR. These files are enough for other packages to wrongly assume
that libGL.so is present, like vlc.

Fixes
http://autobuild.buildroot.net/results/e63/e639dabfb260006acb8a204851b96f9275ce53a7/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mesa3d/mesa3d.mk