[Ffmpeg-devel] Bug in windows DLLs build

Diego Biurrun diego
Sat Jul 29 23:26:53 CEST 2006


On Fri, Jul 14, 2006 at 10:03:11AM +0200, Diego Biurrun wrote:
> Sorry, this one slipped through the cracks..
> 
> On Wed, Jun 14, 2006 at 05:25:09PM +0200, Alessandro Vergani wrote:
> > 
> > I've found a problem with naming when a windows build is maked. You may 
> > find the patch to the problem in the attached file.
> > 
> > --- common.mak	(revision 5475)
> > +++ common.mak	(working copy)
> > @@ -7,7 +7,7 @@
> >  
> >  #FIXME: This should be in configure/config.mak
> >  ifeq ($(CONFIG_WIN32),yes)
> > -LDFLAGS = -Wl,--output-def,$(@:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
> > +LDFLAGS = -Wl,--output-def,$(SLIBNAME:.dll=.def),--out-implib,lib$(SLIBNAME:$(SLIBSUF)=.dll.a)
> >  endif
> >  
> > @@ -38,7 +38,7 @@
> >  $(SLIBNAME_WITH_MAJOR): $(SHARED_OBJS)
> >  	$(CC) $(SHFLAGS) $(LDFLAGS) -o $@ $^ $(EXTRALIBS) $(EXTRAOBJS)
> >  ifeq ($(CONFIG_WIN32),yes)
> > -	-lib /machine:i386 /def:$(@:.dll=.def)
> > +	-lib /machine:i386 /def:$(SLIBNAME:.dll=.def)
> 
> Hmmmm, what exactly is the problem in these cases?

No reaction?  Pity..

Somehow I suspect this whole MinGW LDFLAGS business is broken..

Diego




More information about the ffmpeg-devel mailing list