[FFmpeg-devel] [PATCH] ./configure fails to generate .pc files when --build-suffix used

Måns Rullgård mans
Mon Aug 16 22:13:25 CEST 2010


Anatoly Nenashev <nenashev_as at mail.ru> writes:

> $subj
> Due to this error "make install" also fails.
> Attached patch fix this problem.
>
> Anatoly.
>
> diff -r 904ee4d1377b configure
> --- a/configure	Mon Aug 16 16:25:27 2010 +0400
> +++ b/configure	Mon Aug 16 16:28:26 2010 +0400
> @@ -3216,7 +3216,7 @@
>  version=$3
>  libs=$4
>  requires=$5
> -enabled $shortname || return 0
> +enabled ${name#lib} || return 0
>  cat <<EOF > $name/$name.pc
>  prefix=$prefix
>  exec_prefix=\${prefix}

OK

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list