[FFmpeg-devel] Why 'You can only build one library type at once on MinGW'?
Wed May 9 11:48:02 CEST 2007
On Wed, May 09, 2007 at 11:42:28AM +0200, Michel Bardiaux wrote:
> Diego Biurrun wrote:
> > On Wed, May 09, 2007 at 05:21:48PM +0800, Zuxy Meng wrote:
> >> For shared libraries, make install on mingw never works, regardless
> >> whether we build static and shared libraries together or not: dlls
> >> gets installed under $PREFIX/lib, while it should go to $PREFIX/bin;
> > I thought this only applied to Cygwin.. Are you sure?
> Its due to the dll search rule on Windows: first the directory where the
> exe is, then each directory on the $PATH. Since, in fine, you run MS-Win
> executables, whether under Mingw, Cygwin, or 'real' Windows, the rule
> applies in all 3 cases, so the installer should pander to it.
> > Anyway, the fix
> > should be as simple as adding
> > shlibdir="$bindir"
> > to the MinGW section around line 1153.
> >> dll.a doesn't get installed altogether.
> > Hmmm, this could be a problem.
So can somebody test/commit my suggestion?
More information about the ffmpeg-devel