summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <funman@videolan.org>2011-11-24 19:43:46 -0500
committerMartin Storsjö <martin@martin.st>2011-11-25 15:52:55 +0200
commitbe1e872582c861873bd9ca8c1098da55f41bced4 (patch)
tree05991da5d03738ab647d2b7d5eaf0fa1d6ea0551
parentcc276c85d15272df6e44fb3252657a43cbd49555 (diff)
configure: Store vda lib flags in extralibs instead of ldflags
This way the needed linking flags end up in libavcodec.pc. Signed-off-by: Martin Storsjö <martin@martin.st>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 57630f2a53..a0dc6e08f8 100755
--- 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