]> code.ossystems Code Review - openembedded-core.git/commit
glibc-package.inc: Add linux-libc-headers-dev to glibc-dev
authorMark Hatle <mark.hatle@windriver.com>
Tue, 6 Aug 2019 02:05:37 +0000 (22:05 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Aug 2019 15:08:08 +0000 (16:08 +0100)
commitad31c908c8267166ce6cce9d5085ef2ac099a6c5
treeb70cbcf3df0a55edc564aa44290f29efaf20a79d
parent5096f535561d2fd608d622abec5bc2ddb79d49b7
glibc-package.inc: Add linux-libc-headers-dev to glibc-dev

Without linux-libc-headers-dev being added to the libc6-dev as a RDEPENDS,
the system may fail to install the necessary libc headers.

This can happen when NO_RECOMMENDATIONS = "1" is defined.

During the 'testsdk' this results in failures that look like:

    fatal error: linux/errno.h: No such file or directory
    # include <linux/errno.h>
              ^~~~~~~~~~~~~~~

This also matches the behavior of musl, which does not suffer from this
problem.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/glibc/glibc-package.inc