Revision ef0bc4c9 Makefile

View differences:

Makefile
33 33
	$(MAKE) -C libav all
34 34

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

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

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

Also available in: Unified diff