[FFmpeg-devel] [PATCH] Non-recursive makefiles

Balatoni Denes dbalatoni
Sat Mar 29 00:58:37 CET 2008


Hi!

Saturday 29 March 2008 00:32-kor M?ns Rullg?rd ezt ?rta:
> > diff -Naur ffmpeg/subdir.mak ffmpeg2/subdir.mak
> > --- ffmpeg/subdir.mak	2008-03-29 00:22:40.000000000 +0100
> > +++ ffmpeg2/subdir.mak	2008-03-29 00:23:01.000000000 +0100
> > @@ -19,8 +19,9 @@
> >
> >  define RULES
> >  ifeq ($(BUILD_SHARED),yes)
> > +BREAK=$(SLIBNAME_WITH_MAJOR)
> >  $(SUBDIR)$(SLIBNAME): $(SUBDIR)$(SLIBNAME_WITH_MAJOR)
> > -	cd ./$(SUBDIR) && $(LN_S) $(SLIBNAME_WITH_MAJOR) $(SLIBNAME)
> > +	cd ./$(SUBDIR) && $(LN_S) $(BREAK) $(SLIBNAME)
>
> Hmm, good question.  How does it fail?  Does it make a difference if
> you use BREAK:=$(SLIBNAME_WITH_MAJOR) instead (note the colon)?

It does not make a difference.
The failure can be seen from this line in the output:
"cd ./libavutil/ && ln -sf libavcodec.so.51 libavutil.so"
which is obviously wrong. Okay so at least I have shown that there was some 
substance to what I was talking about. If you happen to find out what is the 
reason for the anomaly I would be most interested.

bye
Denes






More information about the ffmpeg-devel mailing list