Commit aa35ccb8 authored by François Revol's avatar François Revol

BeOS fix: NOT every ld likes undefined syms, include C++ objs, and link to...

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
parent fc48fe84
...@@ -48,6 +48,9 @@ endif ...@@ -48,6 +48,9 @@ endif
ifeq ($(CONFIG_AUDIO_BEOS),yes) ifeq ($(CONFIG_AUDIO_BEOS),yes)
PPOBJS+= beosaudio.o PPOBJS+= beosaudio.o
EXTRALIBS+=-lbe -lmedia
# this should be the default !
EXTRALIBS+=-lavcodec -L../libavcodec
endif endif
ifeq ($(CONFIG_NETWORK),yes) ifeq ($(CONFIG_NETWORK),yes)
...@@ -77,7 +80,7 @@ $(LIB): $(OBJS) $(PPOBJS) ...@@ -77,7 +80,7 @@ $(LIB): $(OBJS) $(PPOBJS)
$(RANLIB) $@ $(RANLIB) $@
$(SLIB): $(OBJS) $(SLIB): $(OBJS)
$(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) $(CC) $(SHFLAGS) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS)
depend: $(SRCS) depend: $(SRCS)
$(CC) -MM $(CFLAGS) $^ 1>.depend $(CC) -MM $(CFLAGS) $^ 1>.depend
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment