Skip to contentSkip to conversation

python3: Add a dependency on ncurses

PATCH New Peter Kjellerstedt 1 participant 1 message Mar 27, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3: Add a dependency on ncurses

This avoids the following configuration error:

The necessary bits to build these optional modules were not found:
_curses _curses_panel

which happens if the "readline" PACKAGECONFIG is disabled.

---
 meta/recipes-devtools/python/python3_3.10.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/python/python3_3.10.3.bb +1 -1
index 4e7c6f71e3..5c0f0a9eb2 100644
@@ -70,7 +70,7 @@ 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"
+DEPENDS = "bzip2-replacement-native 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"