From 1077d8c8455b27688de37cd04f8cc253fb37944d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 1 Dec 2015 10:14:00 +0200 Subject: [PATCH] configure: Add -framework CoreVideo when building the avfoundation indev MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes builds with --disable-vda, which previously failed with undefined references to CVImageBuffer* and CVPixelBuffer* functions. Signed-off-by: Martin Storsjö --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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