On Thu, Jan 25, 2018 at 05:35:10PM +1300, Henri wrote:

> > Another option to determine the libc version would be to parse the
> > output of "ldd --version".

It's fine to assume the presence of ldd(1) since you know you are on a
Linux system. Within each case in the big case statement, you don't
need to rely on univerally available shell utilities.

How about just running ldd --version | grep -q ^musl ?

If that pipeline returns 0, you have your answer.

Ben

Attachment: signature.asc
Description: PGP signature

_______________________________________________
config-patches mailing list
config-patches@gnu.org
https://lists.gnu.org/mailman/listinfo/config-patches

Reply via email to