changeset 171:fe5fc579b4de libavformat

BeOS fix: NOT every ld likes undefined syms, include C++ objs, and link to libs needed for audio in.
author mmu_man
date Tue, 15 Jul 2003 13:35:20 +0000
parents 0543d27721c1
children 9a0ab557b159
files Makefile
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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