diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-13 22:15:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-13 22:40:45 +0200 |
commit | efa95968317411179b0016af54745906029c2295 (patch) | |
tree | 2cf070e8bf7760fa38b5fc64a3706bbfde0168cc | |
parent | 3d7218d932923e2b964fef37e8993fd0a6df7c1d (diff) | |
download | ffmpeg-efa95968317411179b0016af54745906029c2295.tar.gz |
common.mak: fix (not)building disabled libs
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | common.mak | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common.mak b/common.mak index eaa6b47117..357d49672d 100644 --- a/common.mak +++ b/common.mak @@ -93,7 +93,10 @@ include $(SRC_PATH)/arch.mak OBJS += $(OBJS-yes) SLIBOBJS += $(SLIBOBJS-yes) -FFLIBS := $(FFLIBS-$(NAME)) $(FFLIBS-yes) $(FFLIBS) +FFLIBS := $(FFLIBS-yes) $(FFLIBS) +ifdef NAME +FFLIBS := $(FFLIBS-$(NAME)) $(FFLIBS) +endif TESTPROGS += $(TESTPROGS-yes) LDLIBS = $(FFLIBS:%=%$(BUILDSUF)) |