[Ffmpeg-devel] Bug in windows DLLs build

Diego Biurrun diego
Fri Jul 14 10:03:11 CEST 2006


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?

Diego




More information about the ffmpeg-devel mailing list