Commit ca89cfc6 authored by diego's avatar diego

Move BeOS extralibs handling into configure.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7082 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 63271846
...@@ -35,10 +35,6 @@ ALLPROGS=$(addsuffix $(EXESUF), $(BASENAMES)) ...@@ -35,10 +35,6 @@ ALLPROGS=$(addsuffix $(EXESUF), $(BASENAMES))
ALLPROGS_G=$(addsuffix _g$(EXESUF), $(BASENAMES)) ALLPROGS_G=$(addsuffix _g$(EXESUF), $(BASENAMES))
ALLMANPAGES=$(addsuffix .1, $(BASENAMES)) ALLMANPAGES=$(addsuffix .1, $(BASENAMES))
ifeq ($(CONFIG_AUDIO_BEOS),yes)
EXTRALIBS+=-lmedia -lbe
endif
ifeq ($(BUILD_SHARED),yes) ifeq ($(BUILD_SHARED),yes)
DEP_LIBS=libavcodec/$(SLIBPREF)avcodec$(SLIBSUF) libavformat/$(SLIBPREF)avformat$(SLIBSUF) DEP_LIBS=libavcodec/$(SLIBPREF)avcodec$(SLIBSUF) libavformat/$(SLIBPREF)avformat$(SLIBSUF)
else else
......
...@@ -1540,6 +1540,10 @@ if enabled vhook; then ...@@ -1540,6 +1540,10 @@ if enabled vhook; then
check_ldflags -export-dynamic check_ldflags -export-dynamic
fi fi
if enabled audio_beos; then
add_extralibs "-lmedia -lbe"
fi
########################################## ##########################################
# imlib check # imlib check
......
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