Build: fix linking FFMPEG & x265 on Linux

This commit is contained in:
Campbell Barton
2024-06-15 14:15:53 +10:00
parent 9266fbab02
commit 8ab246ddde
4 changed files with 22 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ double __log2_finite(double x);
double __log10_finite(double x);
double __log_finite(double x);
double __pow_finite(double x, double y);
double __atan2_finite(double x, double y);
float __expf_finite(float x);
float __exp2f_finite(float x);
float __acosf_finite(float x);
@@ -34,6 +35,7 @@ float __log2f_finite(float x);
float __log10f_finite(float x);
float __logf_finite(float x);
float __powf_finite(float x, float y);
float __atan2f_finite(float x, float y);
double __exp_finite(double x)
{
@@ -75,6 +77,11 @@ double __pow_finite(double x, double y)
return pow(x, y);
}
double __atan2_finite(double x, double y)
{
return atan2(x, y);
}
float __expf_finite(float x)
{
return expf(x);
@@ -115,6 +122,11 @@ float __powf_finite(float x, float y)
return powf(x, y);
}
float __atan2f_finite(float x, float y)
{
return atan2f(x, y);
}
# endif /* __GLIBC_PREREQ(2, 31) */
# if __GLIBC_PREREQ(2, 34) && defined(WITH_LIBC_MALLOC_HOOK_WORKAROUND)