Browse Source

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>
tags/n0.10
Mans Rullgard 14 years ago
parent
commit
0ea5b44275
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      library.mak

+ 1
- 0
library.mak View File

@@ -92,6 +92,7 @@ endef
$(eval $(RULES))

$(EXAMPLES) $(TESTPROGS) $(TOOLS): $(THIS_LIB) $(DEP_LIBS)
$(TESTPROGS): $(SUBDIR)$(LIBNAME)

examples: $(EXAMPLES)
testprogs: $(TESTPROGS)

Loading…
Cancel
Save