[Ffmpeg-devel] [PATCH] Cygwin vhook, always static avformat

Víctor Paesa wzrlpy
Wed May 3 13:15:27 CEST 2006


Hi,

> > >>> >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,
> > >>and
> > >>> import libraries for DLLs  are in $(libdir).
> > >>
> > >>But is this necessary?  Will it work if the DLLs are in $(libdir)
> > >>anyway?
> > >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:
> > >
> > >export PATH="$PATH:$libdir"
> > >
> > >I am not sure if -rpath works, I will check.
> >
> > -rpath does not work either, I am afraid that installing the DLLs 
>together
> > with EXEs will be a neccessary evil.
>
>Please try the attached patch, it's untested, but i'm confident it
>should work.

Thanks for your patch, I will test it, two questions pop up on my head:

a) Should I apply your patch on top of mine?

b) On a first glance, won't it affect both static and dynamic compiling?
(The import libraries and static libraries should be into $(libdir) in 
Cygwin)

Regards,
V?ctor






More information about the ffmpeg-devel mailing list