summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2015-12-01 10:14:00 +0200
committerMartin Storsjö <martin@martin.st>2015-12-03 14:28:12 +0200
commit1077d8c8455b27688de37cd04f8cc253fb37944d (patch)
tree1bd14f03c20e50d6f4727baefee75708767aa798 /configure
parentbf12a81cc67d62dd45c58e29fa0e9177331cc151 (diff)
configure: Add -framework CoreVideo when building the avfoundation indev
This fixes builds with --disable-vda, which previously failed with undefined references to CVImageBuffer* and CVPixelBuffer* functions. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 615a648fca..30db632328 100755
--- a/configure
+++ b/configure
@@ -4568,7 +4568,7 @@ check_struct linux/videodev2.h "struct v4l2_frmivalenum" discrete
check_header AVFoundation/AVFoundation.h &&
check_objcflags -fobjc-arc &&
- add_extralibs -framework Foundation -framework AVFoundation -framework CoreMedia || \
+ add_extralibs -framework Foundation -framework AVFoundation -framework CoreVideo -framework CoreMedia ||
disable AVFoundation_AVFoundation_h
check_header sys/videoio.h