Browse Source

Move the EXTRALIBS to the end of the link line where they actually get used!

Originally committed as revision 452 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Philip Gladstone 23 years ago
parent
commit
c6a8f2ce07
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile View File

@@ -39,10 +39,10 @@ lib:
$(MAKE) -C libav all $(MAKE) -C libav all


ffmpeg$(EXE): ffmpeg.o libav/libav.a $(DEP_FFMPEG_LIB) ffmpeg$(EXE): ffmpeg.o libav/libav.a $(DEP_FFMPEG_LIB)
$(CC) $(LDFLAGS) $(EXTRALIBS) -o $@ $^ $(FFMPEG_LIB)
$(CC) $(LDFLAGS) -o $@ $^ $(FFMPEG_LIB) $(EXTRALIBS)


ffserver$(EXE): ffserver.o libav/libav.a $(DEP_FFMPEG_LIB) ffserver$(EXE): ffserver.o libav/libav.a $(DEP_FFMPEG_LIB)
$(CC) $(LDFLAGS) $(EXTRALIBS) -o $@ $^ $(FFMPEG_LIB)
$(CC) $(LDFLAGS) -o $@ $^ $(FFMPEG_LIB) $(EXTRALIBS)


ffplay: ffmpeg$(EXE) ffplay: ffmpeg$(EXE)
ln -sf $< $@ ln -sf $< $@


Loading…
Cancel
Save