summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2018-06-29 19:52:47 (GMT)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-06-30 16:19:31 (GMT)
commitb1ef2944a356c648ee04309de1b21bdfe5f46b4e (patch)
tree3ddb5fd7200bae1c9c7c8b72a283f0ea9e1de37b
parent07d4d97171a3ed293da07aa9d20bae572c4c5e1b (diff)
downloadbuildroot-b1ef2944a356c648ee04309de1b21bdfe5f46b4e.tar.gz
buildroot-b1ef2944a356c648ee04309de1b21bdfe5f46b4e.tar.bz2
libv4l: add optional sdl2_image dependency
The configure.ac script simply uses PKG_CHECK_MODULES(), so there is not --enable/--disable option. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libv4l/libv4l.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk
index 1106130..95a700b 100644
--- a/package/libv4l/libv4l.mk
+++ b/package/libv4l/libv4l.mk
@@ -73,6 +73,10 @@ else
LIBV4L_CONF_OPTS += --disable-v4l-utils
endif
+ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y)
+LIBV4L_DEPENDENCIES += sdl2_image
+endif
+
LIBV4L_CONF_ENV += LIBS="$(LIBV4L_LIBS)"
$(eval $(autotools-package))