[FFmpeg-devel] [PATCH] fix $(PREFIX) references in pkgconfig files
Måns Rullgård
mans
Sun May 11 01:33:51 CEST 2008
Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:
> On date Tuesday 2008-05-06 08:46:58 +0300, Anssi Hannula encoded:
>> By default $libdir and $incdir reference $(PREFIX), which in .pc files
>> should be ${prefix}.
>>
>> I'm not sure of the best way to handle this, but attached is a simple
>> patch sed'ing the .pc files.
>>
>> --
>> Anssi Hannula
>
>> Index: configure
>> ===================================================================
>> --- configure (revision 13065)
>> +++ configure (working copy)
>> @@ -2148,6 +2148,7 @@
>> Libs: -L\${libdir} -l${shortname} $libs
>> Cflags: -I\${includedir}
>> EOF
>> +apply $name.pc sed s,\$\(PREFIX\),\${prefix},
>> cat <<EOF >$name-uninstalled.pc
>> prefix=
>> exec_prefix=
>
> Hi, please could you fix it, this breaks commandlines/Makefiles using
> pkg-config and libav.
I am strongly tempted to remove all direct pkg-config support in
FFmpeg, and let those who want such files create them for themselves.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list