[FFmpeg-cvslog] build: remove single-use variable THIS_LIB

Mans Rullgard git at videolan.org
Thu Oct 11 16:00:18 CEST 2012


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Wed Oct 10 22:59:37 2012 +0100| [e5c6e9a6f2d0c3de8f5e0c66de793bc20ea3c56c] | committer: Mans Rullgard

build: remove single-use variable THIS_LIB

Replace the single use of THIS_LIB with its value.

Signed-off-by: Mans Rullgard <mans at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e5c6e9a6f2d0c3de8f5e0c66de793bc20ea3c56c
---

 library.mak |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/library.mak b/library.mak
index 7f26984..f715f4a 100644
--- a/library.mak
+++ b/library.mak
@@ -5,7 +5,6 @@ include $(SRC_PATH)/common.mak
 LIBVERSION := $(lib$(NAME)_VERSION)
 LIBMAJOR   := $(lib$(NAME)_VERSION_MAJOR)
 INCINSTDIR := $(INCDIR)/lib$(NAME)
-THIS_LIB   := $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
 
 all-$(CONFIG_STATIC): $(SUBDIR)$(LIBNAME)
 all-$(CONFIG_SHARED): $(SUBDIR)$(SLIBNAME)
@@ -92,7 +91,7 @@ endef
 
 $(eval $(RULES))
 
-$(EXAMPLES) $(TOOLS): $(THIS_LIB) $(DEP_LIBS)
+$(EXAMPLES) $(TOOLS): $(DEP_LIBS) $(SUBDIR)$($(CONFIG_SHARED:yes=S)LIBNAME)
 $(TESTPROGS): $(SUBDIR)$(LIBNAME) $(DEP_LIBS)
 
 examples: $(EXAMPLES)



More information about the ffmpeg-cvslog mailing list