Comment 0 for bug 1623725

Revision history for this message
Loïc Minier (lool) wrote : Usage of secure_getenv prevents build against glibc

Hi,

Building snap-confine against the musl libc breaks due to the use of secure_getenv() which is a GNU extension.

It would be nice to allow building snap-confine against musl as it's the default libc for OpenWRT and derived trees. This could be achieved by providing a secure_getenv alternate implementation or just falling back to getenv().

See discussion at https://github.com/snapcore/snap-confine/pull/140

Cheers,
- Loïc Minier