Page MenuHome

[PATCH] Check for glibc prereq only if using glibc as the system's libc
ClosedPublic

Authored by listout (listout) on Aug 14 2022, 9:03 PM.

Details

Summary

Check whether the system is using Glibc before checking for the
define GLIBC_PREREQ and using the macro GLIBC_PREREQ. On other
libc's, like musl libc, this results in a build error.

Signed-off-by: listout <listout@protonmail.com>

Diff Detail

Repository
rB Blender

Event Timeline

listout (listout) requested review of this revision.Aug 14 2022, 9:03 PM
listout (listout) created this revision.
listout (listout) removed rB Blender as the repository for this revision.Aug 14 2022, 9:10 PM
listout (listout) set the repository for this revision to rB Blender.Aug 14 2022, 9:18 PM

Instead of using __GLIBC__, use the __GLIBC_PREREQ for checking whether system's libc is glibc

This revision is now accepted and ready to land.Aug 15 2022, 1:44 PM