aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-07-30 22:35:26 -0700
committerKhem Raj <raj.khem@gmail.com>2010-07-31 13:46:50 -0700
commitb918d74fed4f34708aae7e8099371d7b532baec2 (patch)
tree7b7c42bbc67e8f54cb1d2dabd601acf7dd8982ef
parentd03afd82e170bb4c4059a19535a2a38d7c96bfd2 (diff)
downloadopenembedded-b918d74fed4f34708aae7e8099371d7b532baec2.zip
openembedded-b918d74fed4f34708aae7e8099371d7b532baec2.tar.gz
openembedded-b918d74fed4f34708aae7e8099371d7b532baec2.tar.bz2
openssh.inc: Workaround uclibc issue where pthread.h inclusion causes conflict
* 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>
-rw-r--r--recipes/openssh/openssh.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes/openssh/openssh.inc b/recipes/openssh/openssh.inc
index 380f7b7..1764ddf 100644
--- a/recipes/openssh/openssh.inc
+++ b/recipes/openssh/openssh.inc
@@ -34,6 +34,13 @@ EXTRA_OECONF = "--disable-suid-ssh --with-ssl=${STAGING_LIBDIR}/ssl \
--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 () {