[Ffmpeg-devel] [PATCH] Cygwin vhook, always static avformat
Tue May 2 17:20:34 CEST 2006
> > >Why do you want to install the shared libs in $(bindir)?
> > It's the Cygwin way, DLLs are together with EXEs in the same directory,
> > import libraries for DLLs are in $(libdir).
>But is this necessary? Will it work if the DLLs are in $(libdir)
LD_CONFIG_PATH, LD_RUN PATH are not honored, unfortunately DLLs use the same
search path as executables, so to use $(libdir) I would need to set:
I am not sure if -rpath works, I will check.
> > >> b) Always compile avformat statically under Cygwin
> > >>
> > >
> > >I don't see how this has any advantage over just using --enable-static.
> > >Patch rejected unless you come up with a really good explanation.
> > By this second patch the vhooks size tops at about 200KB, if I use
> > --enable-static, then vhooks increase to about 3MB.
>Well, you are mixing shared and static libs. That's an unacceptable
>hack or at least it is not acceptable here. Fix Cygwin instead.
OK, I will wait for Cygwin to be fixed (fixing it by myself involves more
knowledge that I have).
More information about the ffmpeg-devel