summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--vars/python3_host.vars3
1 files changed, 3 insertions, 0 deletions
diff --git a/vars/python3_host.vars b/vars/python3_host.vars
index 302d1480..4910fdd0 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;
};