[FFmpeg-devel] [PATCH] fix $(PREFIX) references in pkgconfig files
Anssi Hannula
anssi.hannula
Thu May 29 04:25:25 CEST 2008
Diego Biurrun wrote:
> On Sun, May 18, 2008 at 03:08:43PM +0300, Anssi Hannula wrote:
>> pkgconfig-private-requires.patch:
>> When the shared libraries are built, make the requires Requires.private,
>> as the libav* user does not need to link against those (i.e. the same we
>> did for Libs earlier).
>
> Ummmm...
If you want to know more, here's pkg-config's maintainer's commentary on
Requires.private:
http://err.no/personal/blog/tech/2008-03-25-18-07_pkg-config,_sonames_and_Requires.private.html
>> --- ffmpeg.orig/configure
>> +++ ffmpeg/configure
>> @@ -2148,7 +2148,7 @@ includedir=$incdir
>> Name: $name
>> Description: $comment
>> Version: $version
>> -Requires: $requires
>> +Requires$(enabled shared && echo ".private"): $requires
>
> No, this is too ugly. Instead you could add a Requires.private line and
> add $requires where appropriate.
You mean like the Libs one? Attached.
--
Anssi Hannula
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgconfig-requires-private.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080529/fc5d43a0/attachment.bin>
More information about the ffmpeg-devel
mailing list