mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
Move EXTRALIBS handling to common.mak.
Originally committed as revision 6545 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5523d5f41e
commit
0533322ea3
@ -10,6 +10,8 @@ OBJS := $(OBJS) $(ASM_OBJS) $(CPPOBJS)
|
||||
STATIC_OBJS := $(OBJS) $(STATIC_OBJS)
|
||||
SHARED_OBJS := $(OBJS) $(SHARED_OBJS)
|
||||
|
||||
EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
||||
|
||||
all: $(EXTRADEPS) $(LIB) $(SLIBNAME)
|
||||
|
||||
$(LIB): $(STATIC_OBJS)
|
||||
|
@ -366,8 +366,6 @@ CFLAGS += $(CFLAGS-yes)
|
||||
OBJS += $(OBJS-yes)
|
||||
ASM_OBJS += $(ASM_OBJS-yes)
|
||||
|
||||
EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
||||
|
||||
NAME=avcodec
|
||||
LIBAVUTIL= $(SRC_PATH)/libavutil/$(LIBPREF)avutil$(LIBSUF)
|
||||
ifeq ($(BUILD_SHARED),yes)
|
||||
|
@ -160,8 +160,7 @@ OBJS-$(CONFIG_AUDIO_DEMUXER) += audio.o
|
||||
OBJS-$(CONFIG_AUDIO_MUXER) += audio.o
|
||||
endif
|
||||
|
||||
EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) \
|
||||
-lavcodec$(BUILDSUF) -L../libavcodec $(EXTRALIBS)
|
||||
EXTRALIBS := -lavcodec$(BUILDSUF) -L../libavcodec $(EXTRALIBS)
|
||||
|
||||
ifeq ($(CONFIG_AUDIO_BEOS),yes)
|
||||
CPPOBJS+= beosaudio.o
|
||||
|
@ -4,8 +4,6 @@ include ../config.mak
|
||||
# Overload incdir, postproc include files go in a different directory.
|
||||
incdir=$(prefix)/include/postproc
|
||||
|
||||
EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
|
||||
|
||||
NAME=postproc
|
||||
ifeq ($(BUILD_SHARED),yes)
|
||||
LIBVERSION=$(SPPVERSION)
|
||||
|
Loading…
Reference in New Issue
Block a user