aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-12-17 15:05:24 +0000
committerMans Rullgard <mans@mansr.com>2011-12-17 23:21:08 +0000
commit0ea5b44275aa334528eb384a6548cc9f98c50a17 (patch)
tree833affd4e474e4eb244ee71f29222b64f3b029ea
parente064d46e61b85d27a4e61c37b4a50944db8b188d (diff)
downloadffmpeg-0ea5b44275aa334528eb384a6548cc9f98c50a17.tar.gz
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>
-rw-r--r--library.mak1
1 files changed, 1 insertions, 0 deletions
diff --git a/library.mak b/library.mak
index e269b509ce..f50e8e59ee 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)