* PAM means openssh wants its own implementation of pthread functions
and the signatures dont match with uclibc functions. stdio.h pulls
in pthread.h and causes the compiler to abort compilation. Ideally
uclibc should not include pthread.h but its a hard one to fix. Until
then we disable pam on uclibc.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--sysconfdir=${sysconfdir}/ssh \
--with-xauth=/usr/bin/xauth"
+# this is a workaround for uclibc becasue including stdio.h
+# pulls in pthreads.h and causes conflicts in function prototypes
+# ending in compilation failure so unless this is fixed disable
+# pam for uclibc
+
+EXTRA_OECONF_append_libc-uclibc=" --without-pam"
+
EXTRA_OEMAKE = "'STRIP_OPT='"
do_configure_prepend () {