diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2015-07-21 23:22:42 +0200 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-07-21 23:22:42 +0200 |
commit | 3ae0e721c7b6e0483801b9039b3d140e3b68b7f5 (patch) | |
tree | 09f2568d639a1882f6429fb7ef6b8569325f52e4 /common.mak | |
parent | 6b2b26e7af3ede0abfb46eb5725c26d1083f50bc (diff) | |
download | ffmpeg-3ae0e721c7b6e0483801b9039b3d140e3b68b7f5.tar.gz |
checkasm: Always link statically
Checkasm needs to use internal symbols that should not be made public.
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/common.mak b/common.mak index 9244fd366d..adab9d17bb 100644 --- a/common.mak +++ b/common.mak @@ -24,8 +24,9 @@ TOOLOBJS := $(TOOLS:%=tools/%.o) TOOLS := $(TOOLS:%=tools/%$(EXESUF)) HEADERS += $(HEADERS-yes) -PATH_LIBNAME = $(foreach NAME,$(1),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME)) -DEP_LIBS := $(foreach lib,$(FFLIBS),$(call PATH_LIBNAME,$(lib))) +PATH_LIBNAME = $(foreach NAME,$(1),lib$(NAME)/$($(2)LIBNAME)) +DEP_LIBS := $(foreach lib,$(FFLIBS),$(call PATH_LIBNAME,$(lib),$(CONFIG_SHARED:yes=S))) +STATIC_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)) |