--- Makefile.orig Sat Jul 17 11:05:15 2004 +++ Makefile Sat Jul 17 11:04:42 2004 @@ -81,8 +81,9 @@ all: lib $(PROG) $(PROGTEST) $(VHOOK) $(QTFASTSTART) $(DOC) lib: - $(MAKE) -C libavcodec all - $(MAKE) -C libavformat all + $(MAKE) LDFLAGS="$(LDFLAGS)" -C libavcodec all + $(MAKE) LDFLAGS="$(LDFLAGS)" -C libavformat all + ffmpeg_g$(EXESUF): ffmpeg.o cmdutils.o .libs $(CC) $(LDFLAGS) -o $@ ffmpeg.o cmdutils.o $(FFLIBS) $(EXTRALIBS)