From 84e65c763d8fd09afbfd9743174ad4a81d597783 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sun, 14 Oct 2012 17:56:00 +0100 Subject: build: simplify enabling of compat objects Add a configure function to pull in a compat object and set up redirects in one operation. This avoids duplicating conditions across configure and makefiles. Signed-off-by: Mans Rullgard --- libavutil/Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavutil/Makefile') diff --git a/libavutil/Makefile b/libavutil/Makefile index e2b84e0cc2..a85d3ae153 100644 --- a/libavutil/Makefile +++ b/libavutil/Makefile @@ -88,8 +88,7 @@ OBJS = adler32.o \ utils.o \ xtea.o \ -OBJS-$(HAVE_MSVCRT) += ../compat/msvcrt/snprintf.o \ - ../compat/strtod.o +OBJS += $(COMPAT_OBJS:%=../compat/%) SKIPHEADERS = old_pix_fmts.h -- cgit v1.2.3