From af500c08bbb054902f9326006011777bb3a98fb4 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Wed, 1 Aug 2012 14:32:19 +0100 Subject: [PATCH] dct-test: always link with aandcttab.o 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 --- libavcodec/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 17bc364e6b..4a4364dd1b 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -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)