diff options
author | Mans Rullgard | 2012-10-14 17:56:00 +0100 |
---|---|---|
committer | Mans Rullgard | 2012-10-15 17:46:19 +0100 |
commit | 84e65c763d8fd09afbfd9743174ad4a81d597783 (patch) | |
tree | e7cb131650b29f97094c498a26e40e39b49c1e05 /libavutil | |
parent | 66a1ccd7467ab1913cd8877114c6d4c2588bb12f (diff) |
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>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
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 |