[FFmpeg-cvslog] build: link test programs with static libraries

Mans Rullgard git at videolan.org
Sun Dec 18 03:12:23 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Sat Dec 17 15:05:24 2011 +0000| [0ea5b44275aa334528eb384a6548cc9f98c50a17] | committer: Mans Rullgard

build: link test programs with static libraries

Many of the test programs directly access internal symbols not
exported from the shared libraries.  This allows tests to run
when configured with shared libraries.

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

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

 library.mak |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/library.mak b/library.mak
index e269b50..f50e8e5 100644
--- a/library.mak
+++ b/library.mak
@@ -92,6 +92,7 @@ endef
 $(eval $(RULES))
 
 $(EXAMPLES) $(TESTPROGS) $(TOOLS): $(THIS_LIB) $(DEP_LIBS)
+$(TESTPROGS): $(SUBDIR)$(LIBNAME)
 
 examples: $(EXAMPLES)
 testprogs: $(TESTPROGS)



More information about the ffmpeg-cvslog mailing list