mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
python3: use system expat
Instead of statically linking to an integrated expat which may not be updated to fix security issues, dynamically link to the system expat. (From OE-Core rev: 4c63942a47f6d10eda6ed6718bfcfc89396b7d67) (From OE-Core rev: 2621924191fa516c66eb42295ec4c68820c0ed17) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ee2f28c91a
commit
2942c7f2c1
@@ -72,11 +72,11 @@ ALTERNATIVE_LINK_NAME[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config
|
||||
ALTERNATIVE_TARGET[python3-config] = "${bindir}/python${PYTHON_MAJMIN}-config-${MULTILIB_SUFFIX}"
|
||||
|
||||
|
||||
DEPENDS = "bzip2-replacement-native libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux-libuuid libtirpc libnsl2 autoconf-archive-native ncurses"
|
||||
DEPENDS = "bzip2-replacement-native expat libffi bzip2 openssl sqlite3 zlib virtual/libintl xz virtual/crypt util-linux-libuuid libtirpc libnsl2 autoconf-archive-native ncurses"
|
||||
DEPENDS:append:class-target = " python3-native"
|
||||
DEPENDS:append:class-nativesdk = " python3-native"
|
||||
|
||||
EXTRA_OECONF = " --without-ensurepip --enable-shared --with-platlibdir=${baselib}"
|
||||
EXTRA_OECONF = " --without-ensurepip --enable-shared --with-platlibdir=${baselib} --with-system-expat"
|
||||
EXTRA_OECONF:append:class-native = " --bindir=${bindir}/${PN}"
|
||||
EXTRA_OECONF:append:class-target = " --with-build-python=nativepython3"
|
||||
EXTRA_OECONF:append:class-nativesdk = " --with-build-python=nativepython3"
|
||||
|
||||
Reference in New Issue
Block a user