summaryrefslogtreecommitdiffhomepage
path: root/vars/python3_host.vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars/python3_host.vars')
-rw-r--r--vars/python3_host.vars2
1 files changed, 1 insertions, 1 deletions
diff --git a/vars/python3_host.vars b/vars/python3_host.vars
index 55ec443a..07fe489f 100644
--- a/vars/python3_host.vars
+++ b/vars/python3_host.vars
@@ -7,7 +7,7 @@ pkg_python3_host_fetch_download() {
|| ! rtl_fileop rm "${PKG_BASE_DIR}/sbpython3"\
|| ! rtl_fetch_urls_git "${PKG_BASE_DIR}/build" "sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"\
|| ! rtl_fileop cp "../sbpython3/project/config/cfgdefs.sh" "../sbpython3/project/config/cfgdefs.sh.orig"\
- || ! sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']\+\)'/mb_ncurses_libs='\1 -ltinfow'/" "../sbpython3/project/config/cfgdefs.sh"\
+ || ! sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']*\)'/mb_ncurses_libs='\1 -ltinfow'/" "../sbpython3/project/config/cfgdefs.sh"\
|| ! sed -i"" -e'108a\
cfgtest_ldflags_append "-L$mb_prefix/lib"' "../sbpython3/project/config/cfgdefs.sh"\
|| ! sed -i"" '/^PYCOMPILE_CFLAGS.*+= -std=c99/a\