aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-06-29 21:52:47 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-07-19 11:53:16 +0200
commit95172513dfce0b5474d1e184f3b37311ad753106 (patch)
tree9bf833b2dbaf7cccf3def3d395b0461618522d9e
parent4f8a4685817a9bfdf4ea18b52adc6e13f4eed6c0 (diff)
downloadbuildroot-95172513dfce0b5474d1e184f3b37311ad753106.tar.gz
buildroot-95172513dfce0b5474d1e184f3b37311ad753106.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> (cherry picked from commit b1ef2944a356c648ee04309de1b21bdfe5f46b4e) Signed-off-by: Peter Korsgaard <peter@korsgaard.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 11061306c7..95a700b2d5 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))