[FFmpeg-devel] [PATCH 2/2] lavd: add lavfi dependencies for test programs.

Michael Niedermayer michaelni at gmx.at
Thu Feb 6 16:06:00 CET 2014


On Thu, Feb 06, 2014 at 01:23:54PM +0100, Lukasz M wrote:
> On 5 February 2014 18:13, Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > On Wed, Feb 05, 2014 at 05:45:49PM +0100, Nicolas George wrote:
> > > Le septidi 17 pluviôse, an CCXXII, Michael Niedermayer a écrit :
> > > > This adds all the dependancies of the currently build libavfilter
> > > > to libavdevice.so
> > > >
> > > > this feels wrong
> > > > libavdevice.so does not depend on these
> > >
> > > I do not understand what you are saying. libavdevice does depend on
> > > libavfilter (through the lavfi device). The only reason it works for now
> > is
> > > because the only test program here only tests a very small and isolated
> > part
> > > of libavdevice.
> >
> > libavdevice does depend on libavfilter but it does not depend on
> > lets say libpostproc
> >
> > if for example you upgrade libavfilter.so and the new version no
> > longer depends on libpostproc.so you still would have libavdevice.so
> > depening on it if iam not mistaken
> > that is after the patch but not before
> 
> 
> I'm not a linker guru, but maybe these new deps should be applied to test
> programs, not library.
> This is quite annoying static lib doesn't track its own dependencies and it
> seems you cannot avoid adding them explicitly somewhere.

yes, and after sleeping over it theres actually a simple solution

just link the test program against all installed libs, this would be
very close to what exact dependancies would result in for this
most of the time i think

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The misfortune of the wise is better than the prosperity of the fool.
-- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140206/40e8ad8e/attachment.asc>


More information about the ffmpeg-devel mailing list