diff options
author | Preeti Sachan <preeti.sachan@intel.com> | 2025-01-07 12:07:04 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-07 09:33:13 -0800 |
commit | d634c5c1a602bf2e4555bccc9143f4c3cbb1f41a (patch) | |
tree | b93b7db32ac223bb0a475ee5d3c9a31fdb33f9e2 /meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch | |
parent | 9fd5801396fc2b65d642b06530c7991a0355127b (diff) | |
download | meta-openembedded-d634c5c1a602bf2e4555bccc9143f4c3cbb1f41a.tar.gz |
bpftool: fix libelf.h not found error
When build host machine is not installed with elfutils-libelf-devel, it
throws compile error "libelf.h: No such file or directory". Fix missing
headers file by including path ${STAGING_INCDIR_NATIVE} via CFLAGS variable.
Use headers file from ${STAGING_INCDIR_NATIVE} instead of host machine.
Error:
| libbpf_internal.h:19:10: fatal error: libelf.h: No such file or directory
Signed-off-by: Preeti Sachan <preeti.sachan@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-grpcio-tools/0001-setup.py-Do-not-mix-C-and-C-compiler-options.patch')
0 files changed, 0 insertions, 0 deletions