Browse Source

BeOS fix: NOT every ld likes undefined syms, include C++ objs, and link to libs needed for audio in.

Originally committed as revision 2044 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
François Revol 22 years ago
parent
commit
aa35ccb8e1
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      libavformat/Makefile

+ 4
- 1
libavformat/Makefile View File

@@ -48,6 +48,9 @@ endif

ifeq ($(CONFIG_AUDIO_BEOS),yes)
PPOBJS+= beosaudio.o
EXTRALIBS+=-lbe -lmedia
# this should be the default !
EXTRALIBS+=-lavcodec -L../libavcodec
endif

ifeq ($(CONFIG_NETWORK),yes)
@@ -77,7 +80,7 @@ $(LIB): $(OBJS) $(PPOBJS)
$(RANLIB) $@

$(SLIB): $(OBJS)
$(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS)
$(CC) $(SHFLAGS) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS)

depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend


Loading…
Cancel
Save