Commit 70168737 authored by mmu_man's avatar mmu_man

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2044 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ee092b7f
...@@ -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