bcc: add missing build dependency

Without xz present, compilation fails with the following error:

| <...>/x86_64-oe-linux-ld: warning: liblzma.so.5, needed by <...>/libbcc.so, not found (try using -rpath or -rpath-link)
| <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_code@XZ_5.0'
| <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_end@XZ_5.0'
| <...>/x86_64-oe-linux-ld: <...>/libbcc.so: undefined reference to `lzma_stream_decoder@XZ_5.0'
| collect2: error: ld returned 1 exit status

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2026-03-14 13:40:46 +01:00 committed by Khem Raj
parent 9f5c6b28e3
commit cce9a3b937
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -13,6 +13,7 @@ DEPENDS += "bison-native \
clang \
libbpf \
python3-setuptools-native \
xz \
"
RDEPENDS:${PN} += "bash python3 python3-core python3-setuptools xz"