From 47b6cfc2a0333fb24f074d27830bf35ae5007050 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 1 Oct 2013 13:34:02 +0200 Subject: avformat/output-example: Declare link dependency on libswscale in the Makefile --- common.mak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common.mak') diff --git a/common.mak b/common.mak index a1d9d1e502..41ef235db7 100644 --- a/common.mak +++ b/common.mak @@ -25,7 +25,8 @@ TOOLOBJS := $(TOOLS:%=tools/%.o) TOOLS := $(TOOLS:%=tools/%$(EXESUF)) HEADERS += $(HEADERS-yes) -DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME)) +PATH_LIBNAME = $(foreach NAME,$(1),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME)) +DEP_LIBS := $(foreach lib,$(FFLIBS),$(call PATH_LIBNAME,$(lib))) SRC_DIR := $(SRC_PATH)/lib$(NAME) ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h)) -- cgit v1.2.3