From 2129ba114fead4135f2f141c93061bb1b5038401 Mon Sep 17 00:00:00 2001 From: Lucio Andrés Illanes Albornoz Date: Feb 09 2020 12:06:49 +0000 Subject: vars/python3_host.vars: compile w/ -I${PREFIX}/include. --- diff --git a/vars/python3_host.vars b/vars/python3_host.vars index 302d148..4910fdd 100644 --- a/vars/python3_host.vars +++ b/vars/python3_host.vars @@ -10,6 +10,9 @@ pkg_python3_host_fetch_download() { 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\ +PYCOMPILE_CFLAGS += -I'"${PREFIX}"'/include +' ../sbpython3/project/pycompile.mk ex_pkg_state_set "${PKG_NAME}" fetch_download -fetch_extract; };