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 <mans@mansr.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user