configure: Store vda lib flags in extralibs instead of ldflags
authorRafaël Carré <funman@videolan.org>
Fri, 25 Nov 2011 00:43:46 +0000 (19:43 -0500)
committerMartin Storsjö <martin@martin.st>
Fri, 25 Nov 2011 13:52:55 +0000 (15:52 +0200)
This way the needed linking flags end up in libavcodec.pc.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure

index 57630f2..a0dc6e0 100755 (executable)
--- a/configure
+++ b/configure
@@ -3002,7 +3002,7 @@ 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
+    enable vda && add_extralibs -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore
 fi
 
 if ! disabled vdpau && enabled vdpau_vdpau_h; then