aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-14 14:02:19 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-14 14:02:19 +0200
commitdbd1fdd21400189f64aedde6a94ea14beca5a85e (patch)
tree3b647f612fbc4310b2a56c0eb690c0cc3c21818f /common.mak
parent6a72260e6baf38403c8c26d010425f52dea7817a (diff)
parent7e90133f6420b1c53652f972b9561600822881ee (diff)
downloadffmpeg-dbd1fdd21400189f64aedde6a94ea14beca5a85e.tar.gz
Merge commit '7e90133f6420b1c53652f972b9561600822881ee'
* commit '7e90133f6420b1c53652f972b9561600822881ee': build: do not append $(FFLIBS-) to $(FFLIBS) if $(NAME) is not defined Conflicts: common.mak See: efa95968317411179b0016af54745906029c2295 Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak5
1 files changed, 1 insertions, 4 deletions
diff --git a/common.mak b/common.mak
index 357d49672d..18b5463d5b 100644
--- a/common.mak
+++ b/common.mak
@@ -93,10 +93,7 @@ include $(SRC_PATH)/arch.mak
OBJS += $(OBJS-yes)
SLIBOBJS += $(SLIBOBJS-yes)
-FFLIBS := $(FFLIBS-yes) $(FFLIBS)
-ifdef NAME
-FFLIBS := $(FFLIBS-$(NAME)) $(FFLIBS)
-endif
+FFLIBS := $(FFLIBS-$(if $(NAME),$(NAME),no)) $(FFLIBS-yes) $(FFLIBS)
TESTPROGS += $(TESTPROGS-yes)
LDLIBS = $(FFLIBS:%=%$(BUILDSUF))