From 7e90133f6420b1c53652f972b9561600822881ee Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Wed, 14 May 2014 00:05:27 +0200 Subject: [PATCH] build: do not append $(FFLIBS-) to $(FFLIBS) if $(NAME) is not defined Avoids including disabled library Makefiles. --- common.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mak b/common.mak index cdcdc8a149..c17b5bfab9 100644 --- a/common.mak +++ b/common.mak @@ -8,7 +8,7 @@ all: all-yes include $(SRC_PATH)/arch.mak OBJS += $(OBJS-yes) -FFLIBS := $(FFLIBS-$(NAME)) $(FFLIBS-yes) $(FFLIBS) +FFLIBS := $(FFLIBS-$(if $(NAME),$(NAME),no)) $(FFLIBS-yes) $(FFLIBS) TESTPROGS += $(TESTPROGS-yes) LDLIBS = $(FFLIBS:%=%$(BUILDSUF))