summaryrefslogtreecommitdiff
authorMans Rullgard <mans@mansr.com>2011-12-17 15:05:24 (GMT)
committer Mans Rullgard <mans@mansr.com>2011-12-17 23:21:08 (GMT)
commit0ea5b44275aa334528eb384a6548cc9f98c50a17 (patch)
tree833affd4e474e4eb244ee71f29222b64f3b029ea
parente064d46e61b85d27a4e61c37b4a50944db8b188d (diff)
downloadffmpeg-0ea5b44275aa334528eb384a6548cc9f98c50a17.zip
ffmpeg-0ea5b44275aa334528eb384a6548cc9f98c50a17.tar.gz
ffmpeg-0ea5b44275aa334528eb384a6548cc9f98c50a17.tar.bz2
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@mansr.com>
Diffstat
-rw-r--r--library.mak1
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)