Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2003-07-15 17:35:20 +0400
committerFrançois Revol <revol@free.fr>2003-07-15 17:35:20 +0400
commitaa35ccb8e1df62bfb25ec07ad12e0755feac74d2 (patch)
tree1ca75dd5b8bcffc0dbe997c260c1fb631a40d8bf /libavformat
parentfc48fe84a98ba4b7d80577d9747143e1e32188e1 (diff)
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
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/Makefile5
1 files changed, 4 insertions, 1 deletions
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