[Ffmpeg-devel] Re: [RFC] ffmpeg-windows mailinglist?

Víctor Paesa wzrlpy
Fri Aug 4 11:53:06 CEST 2006


Hi,

> On Thu, Aug 03, 2006 at 11:12:22PM +0100, M?ns Rullg?rd wrote:
>> Diego Biurrun <diego at biurrun.de> writes:
>>
>> > --- common.mak	(revision 5921)
>> > +++ common.mak	(working copy)
>> > @@ -5,7 +5,7 @@
>> >  SRC_DIR = $(SRC_PATH)/lib$(NAME)
>> >  VPATH = $(SRC_DIR)
>> >
>> > -SRCS := $(OBJS:.o=.c) $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
>> > +SRCS := $(OBJS:.o=.c) $(STATIC_OBJS:.o=.c) $(SHARED_OBJS:.o=.c)
>> $(ASM_OBJS:.o=.S) $(CPPOBJS:.o=.cpp)
>>
>> This looks unrelated.
>
> It is.  Here is a patch without that hunk, updated for HEAD.

After your patch "make install" works fine.

IMHO, $shlibdir for MinGW should be the same as $bindir, so that $PATH
needs no modification (in Win32 the DLL search path includes . )

This way, for example:

--- ffmpeg-old/configure        Wed Aug  2 18:35:51 2006
+++ ffmpeg/configure    Fri Aug  4 10:47:02 2006
@@ -886,6 +886,7 @@
     SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(NAME)-$(LIBMAJOR)$(SLIBSUF)'
     if test "$force_prefix" != yes; then PREFIX="$PROGRAMFILES/FFmpeg"; fi
     if test "$force_libdir" != yes; then bindir="$PREFIX"; fi
+    shlibdir="$PREFIX"
 fi

 # Combine FFLDFLAGS, EXTRALDFLAGS and the LDFLAGS environment variable.


However, "make uninstall-libs", "make uninstall-headers" need some quotes
in common.mak, I omit the obvious patch.


By the way, $PROGRAMFILES in Spanish is "Archivos de Programa", but I
have seen many machines where it is "Program Files".
In any case, it is a good test bed :-)

Regards,
V?ctor Paesa




More information about the ffmpeg-devel mailing list