diff options
author | Mans Rullgard <[email protected]> | 2011-12-17 15:05:24 +0000 |
---|---|---|
committer | Mans Rullgard <[email protected]> | 2011-12-17 23:21:08 +0000 |
commit | 0ea5b44275aa334528eb384a6548cc9f98c50a17 (patch) | |
tree | 833affd4e474e4eb244ee71f29222b64f3b029ea | |
parent | e064d46e61b85d27a4e61c37b4a50944db8b188d (diff) |
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 <[email protected]>
-rw-r--r-- | library.mak | 1 |
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) |