From: Bernd Kuhls Date: Sun, 12 Jun 2016 20:07:21 +0000 (+0200) Subject: package/libv4l: add optional support for libgl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6609cd803a2f6eaac606a44bcd3bb886eae3badf;p=buildroot.git package/libv4l: add optional support for libgl libv4l has optional support for OpenGL: https://git.linuxtv.org/v4l-utils.git/tree/configure.ac#n160 Signed-off-by: Bernd Kuhls Reviewed-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index e7a57f08bf..a73b6cf113 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -36,6 +36,10 @@ else LIBV4L_CONF_OPTS += --without-jpeg endif +ifeq ($(BR2_PACKAGE_HAS_LIBGL),y) +LIBV4L_DEPENDENCIES += libgl +endif + ifeq ($(BR2_PACKAGE_HAS_UDEV),y) LIBV4L_CONF_OPTS += --with-libudev LIBV4L_DEPENDENCIES += udev