---
 configure |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index 57630f2..09e9822 100755
--- a/configure
+++ b/configure
@@ -3002,7 +3002,10 @@ check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
 
 # check for VDA header
 if ! disabled vda && check_header VideoDecodeAcceleration/VDADecoder.h; then
-    enable vda && add_ldflags -framework CoreFoundation -framework 
VideoDecodeAcceleration -framework QuartzCore
+    if enable vda; then
+        add_ldflags   -framework CoreFoundation -framework 
VideoDecodeAcceleration -framework QuartzCore
+        add_extralibs -framework CoreFoundation -framework 
VideoDecodeAcceleration -framework QuartzCore
+    fi
 fi
 
 if ! disabled vdpau && enabled vdpau_vdpau_h; then
-- 
1.7.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to