[FFmpeg-cvslog] configure: Store vda lib flags in extralibs instead of ldflags

Rafaël Carré git at videolan.org
Sat Nov 26 01:17:42 CET 2011


ffmpeg | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 24 19:43:46 2011 -0500| [be1e872582c861873bd9ca8c1098da55f41bced4] | committer: Martin Storsjö

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 at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=be1e872582c861873bd9ca8c1098da55f41bced4
---

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

diff --git a/configure b/configure
index 57630f2..a0dc6e0 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



More information about the ffmpeg-cvslog mailing list