From aa35ccb8e1df62bfb25ec07ad12e0755feac74d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Tue, 15 Jul 2003 13:35:20 +0000 Subject: [PATCH] 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 --- libavformat/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/Makefile b/libavformat/Makefile index b689b8ead8..e898e40f21 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -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