Skip to content

feat(libc): directly run the `libc` library to detect version

Matthew Clarkson requested to merge libc into main

ldd is not always installed.

The libc library can be directly executed to retrieve the version.

Add detection of GNU libc via executing the library.

Only checks /lib{,64}/libc.so.6 at the moment.

Wider support can be rolled out later.

Merge request reports

Loading