summaryrefslogtreecommitdiff
path: root/media-tv/v4l-utils/files/sdlcam-only-build-if-using-jpeg.patch
blob: 6a429a447a6f1907e8711c45102ac2ad96071166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -Nur a/contrib/test/Makefile.am b/contrib/test/Makefile.am
--- a/contrib/test/Makefile.am	2017-12-27 13:51:17.000000000 +0000
+++ b/contrib/test/Makefile.am	2018-12-30 16:35:57.823533861 +0000
@@ -17,8 +17,10 @@
 endif
 
 if HAVE_SDL
+if HAVE_JPEG
 noinst_PROGRAMS += sdlcam
 endif
+endif
 
 driver_test_SOURCES = driver-test.c
 driver_test_LDADD = ../../utils/libv4l2util/libv4l2util.la