# HG changeset patch # User mmu_man # Date 1058276120 0 # Node ID fe5fc579b4de7de5d36550d7aee23098b7d916eb # Parent 0543d27721c188973e613649f3cf823d7828f047 BeOS fix: NOT every ld likes undefined syms, include C++ objs, and link to libs needed for audio in. diff -r 0543d27721c1 -r fe5fc579b4de Makefile --- a/Makefile Tue Jul 15 13:21:39 2003 +0000 +++ b/Makefile Tue Jul 15 13:35:20 2003 +0000 @@ -48,6 +48,9 @@ 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 @@ $(RANLIB) $@ $(SLIB): $(OBJS) - $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS) $(AMREXTRALIBS) + $(CC) $(SHFLAGS) -o $@ $(OBJS) $(PPOBJS) $(EXTRALIBS) $(AMREXTRALIBS) depend: $(SRCS) $(CC) -MM $(CFLAGS) $^ 1>.depend