0004-Build-sdlcam-only-if-jpeg-is-enabled.patch 831 B

12345678910111213141516171819202122232425262728293031
  1. From 5c407e130f8d0416f91f5a12bcdc2709f00dda65 Mon Sep 17 00:00:00 2001
  2. From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  3. Date: Fri, 29 Jun 2018 21:15:10 +0200
  4. Subject: [PATCH] Build sdlcam only if jpeg is enabled
  5. Fixes:
  6. - http://autobuild.buildroot.net/results/1eded8b44cc369550566c6ce0b3c042f1aec8d44
  7. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  8. ---
  9. contrib/test/Makefile.am | 2 ++
  10. 1 file changed, 2 insertions(+)
  11. diff --git a/contrib/test/Makefile.am b/contrib/test/Makefile.am
  12. index 0188fe21..c7c38e7a 100644
  13. --- a/contrib/test/Makefile.am
  14. +++ b/contrib/test/Makefile.am
  15. @@ -17,8 +17,10 @@ noinst_PROGRAMS += v4l2gl
  16. endif
  17. if HAVE_SDL
  18. +if HAVE_JPEG
  19. noinst_PROGRAMS += sdlcam
  20. endif
  21. +endif
  22. driver_test_SOURCES = driver-test.c
  23. driver_test_LDADD = ../../utils/libv4l2util/libv4l2util.la
  24. --
  25. 2.14.1