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))