[libav-devel] [PATCH] Put VDA flags in libavcodec.pc
Diego Biurrun
diego at biurrun.de
Fri Nov 25 01:10:46 CET 2011
On Thu, Nov 24, 2011 at 06:35:31PM -0500, Rafaël Carré wrote:
>
> --- 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
Please try just using extralibs and not ldflags.
Diego
More information about the libav-devel
mailing list