diff options
-rw-r--r-- | common.mak | 2 | ||||
-rw-r--r-- | libavcodec/Makefile | 2 | ||||
-rw-r--r-- | libavformat/Makefile | 3 | ||||
-rw-r--r-- | libpostproc/Makefile | 2 |
4 files changed, 3 insertions, 6 deletions
diff --git a/common.mak b/common.mak index cc7c7823f4..ac570c1f51 100644 --- a/common.mak +++ b/common.mak @@ -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) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 17481c3893..937269a006 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -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) diff --git a/libavformat/Makefile b/libavformat/Makefile index 0c01c67761..a9a4632e0a 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -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 diff --git a/libpostproc/Makefile b/libpostproc/Makefile index 6f3527c24d..e3d320bc62 100644 --- a/libpostproc/Makefile +++ b/libpostproc/Makefile @@ -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) |