diff options
author | Joe Slater <jslater@windriver.com> | 2014-03-30 13:48:45 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-31 22:53:45 +0100 |
commit | 806e671baf6298932c1fd41d438509ee0b9ca567 (patch) | |
tree | cd365812c2ad5be8024c466606754796ce97d3a7 /meta | |
parent | 49f2bc450c1dd969eba30287050e25030116b714 (diff) | |
download | poky-806e671baf6298932c1fd41d438509ee0b9ca567.tar.gz |
openssh: build without libbsd
We do not DEPEND on libbsd, so we do not want to
build with it just because libutil.h is found by configure.
As noted in the patch, specifying --disable-libutil to
configure does not work, so we provide "cached" configure
variables.
(From OE-Core rev: 103ef2295c728e427acc27bb071e786946c459f2)
Signed-off-by: Joe Slater <jslater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-connectivity/openssh/openssh_6.5p1.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssh/openssh_6.5p1.bb b/meta/recipes-connectivity/openssh/openssh_6.5p1.bb index 6c413afd45..3496b4d878 100644 --- a/meta/recipes-connectivity/openssh/openssh_6.5p1.bb +++ b/meta/recipes-connectivity/openssh/openssh_6.5p1.bb | |||
@@ -61,6 +61,12 @@ EXTRA_OECONF = "${@base_contains('DISTRO_FEATURES', 'pam', '--with-pam', '--with | |||
61 | --sysconfdir=${sysconfdir}/ssh \ | 61 | --sysconfdir=${sysconfdir}/ssh \ |
62 | --with-xauth=/usr/bin/xauth" | 62 | --with-xauth=/usr/bin/xauth" |
63 | 63 | ||
64 | # Since we do not depend on libbsd, we do not want configure to use it | ||
65 | # just because it finds libutil.h. But, specifying --disable-libutil | ||
66 | # causes compile errors, so... | ||
67 | # | ||
68 | CACHED_CONFIGUREVARS += "ac_cv_header_bsd_libutil_h=no ac_cv_header_libutil_h=no" | ||
69 | |||
64 | # This is a workaround for uclibc because including stdio.h | 70 | # This is a workaround for uclibc because including stdio.h |
65 | # pulls in pthreads.h and causes conflicts in function prototypes. | 71 | # pulls in pthreads.h and causes conflicts in function prototypes. |
66 | # This results in compilation failure, so unless this is fixed, | 72 | # This results in compilation failure, so unless this is fixed, |