mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avutil/Makefile: Only include half2float, float2half when needed
They are not needed for shared builds (and because --gc-sections is not the default for shared builds, they were included by default included in libavutil since bf22c4cc3e005c01f50e233b1582fd1d8051aed9). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -139,12 +139,10 @@ OBJS = adler32.o \
|
|||||||
file.o \
|
file.o \
|
||||||
file_open.o \
|
file_open.o \
|
||||||
float_dsp.o \
|
float_dsp.o \
|
||||||
float2half.o \
|
|
||||||
float_scalarproduct.o \
|
float_scalarproduct.o \
|
||||||
film_grain_params.o \
|
film_grain_params.o \
|
||||||
fixed_dsp.o \
|
fixed_dsp.o \
|
||||||
frame.o \
|
frame.o \
|
||||||
half2float.o \
|
|
||||||
hash.o \
|
hash.o \
|
||||||
hdr_dynamic_metadata.o \
|
hdr_dynamic_metadata.o \
|
||||||
hdr_dynamic_vivid_metadata.o \
|
hdr_dynamic_vivid_metadata.o \
|
||||||
@ -221,6 +219,13 @@ OBJS-$(!CONFIG_VULKAN) += hwcontext_stub.o
|
|||||||
|
|
||||||
OBJS += $(COMPAT_OBJS:%=../compat/%)
|
OBJS += $(COMPAT_OBJS:%=../compat/%)
|
||||||
|
|
||||||
|
# Object files to satisfy dependencies of other libraries for static builds
|
||||||
|
STLIBOBJS-$(CONFIG_EXR_DECODER) += half2float.o float2half.o
|
||||||
|
STLIBOBJS-$(CONFIG_EXR_ENCODER) += float2half.o
|
||||||
|
STLIBOBJS-$(CONFIG_PHM_DECODER) += half2float.o
|
||||||
|
STLIBOBJS-$(CONFIG_PHM_ENCODER) += float2half.o
|
||||||
|
STLIBOBJS-$(CONFIG_SWSCALE) += half2float.o
|
||||||
|
|
||||||
# Windows resource file
|
# Windows resource file
|
||||||
SHLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
|
SHLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user