dct-test: always link with aandcttab.o
authorMans Rullgard <mans@mansr.com>
Wed, 1 Aug 2012 13:32:19 +0000 (14:32 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 2 Aug 2012 11:14:52 +0000 (12:14 +0100)
This allows building dct-test even if aandcttab.o is not pulled in
by any enabled codec.  The DCT with which these tables are used does
not use them directly, so building it without the tables is possible.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/Makefile

index 17bc364e6baaffba9a0ca5653dcd122404370aa1..4a4364dd1b4311b92399da8473cf675a2b440a86 100644 (file)
@@ -748,7 +748,7 @@ HOSTPROGS = aac_tablegen                                                \
 
 CLEANFILES = *_tables.c *_tables.h *_tablegen$(HOSTEXESUF)
 
-$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o
+$(SUBDIR)dct-test$(EXESUF): $(SUBDIR)dctref.o $(SUBDIR)aandcttab.o
 
 TRIG_TABLES  = cos cos_fixed sin
 TRIG_TABLES := $(TRIG_TABLES:%=$(SUBDIR)%_tables.c)