]> code.ossystems Code Review - openembedded-core.git/commitdiff
openssh: Disable wtmp when using musl libc
authorPaul Barker <pbarker@toganlabs.com>
Thu, 18 Jan 2018 18:03:33 +0000 (18:03 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 22 Jan 2018 10:39:04 +0000 (10:39 +0000)
musl doesn't implement wtmp/utmp.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/openssh/openssh_7.6p1.bb

index 9d940d459070286131901504a4114a4ee2200a86..a2288dfe08ed225a0f6180cde4c9045cfe827b20 100644 (file)
@@ -60,6 +60,9 @@ EXTRA_OECONF = "'LOGIN_PROGRAM=${base_bindir}/login' \
                 --disable-strip \
                 "
 
+# musl doesn't implement wtmp/utmp
+EXTRA_OECONF_append_libc-musl = " --disable-wtmp"
+
 # Since we do not depend on libbsd, we do not want configure to use it
 # just because it finds libutil.h.  But, specifying --disable-libutil
 # causes compile errors, so...