python3-lz4: use system lz4 library

Instead of using the copy of lz4 that is embedded in the python3-lz4
source code, use the system lz4 library.

python3-lz4: PKGSIZE changed from 718282 to 165043 (-77%)
python3-lz4: RDEPENDS: added "lz4 (['>= 1.9.3'])"

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Ross Burton 2022-03-17 19:13:16 +00:00 committed by Trevor Gamblin
parent 9b4c80a410
commit 1e48da0f1e

View File

@ -4,12 +4,13 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573"
DEPENDS += " \
lz4 \
${PYTHON_PN}-setuptools-scm-native \
${PYTHON_PN}-pkgconfig-native \
"
SRC_URI[sha256sum] = "57c5dfd3b7dae833b0d2b2c1aafd7f9d0dfcab40683d183d010c67c9fd1beca3"
inherit pypi python_setuptools_build_meta
inherit pkgconfig pypi python_setuptools_build_meta
BBCLASSEXTEND = "native nativesdk"