From 6609cd803a2f6eaac606a44bcd3bb886eae3badf Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 12 Jun 2016 22:07:21 +0200 Subject: [PATCH] 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 --- package/libv4l/libv4l.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2