summaryrefslogtreecommitdiffhomepage
path: root/vars/python2_host.vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars/python2_host.vars')
-rw-r--r--vars/python2_host.vars3
1 files changed, 3 insertions, 0 deletions
diff --git a/vars/python2_host.vars b/vars/python2_host.vars
index 6a041af7..c5c4eb21 100644
--- a/vars/python2_host.vars
+++ b/vars/python2_host.vars
@@ -10,6 +10,9 @@ pkg_python2_host_fetch_download() {
sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']\+\)'/mb_ncurses_libs='\1 -ltinfow'/" ../sbpython2/project/config/cfgdefs.sh;
sed -i"" -e'108a\
cfgtest_ldflags_append "-L$mb_prefix/lib"' ../sbpython2/project/config/cfgdefs.sh;
+ sed -i"" '/^PYCOMPILE_CFLAGS.*+= -std=c99/a\
+PYCOMPILE_CFLAGS += -I'"${PREFIX}"'/include
+' ../sbpython2/project/pycompile.mk
ex_pkg_state_set "${PKG_NAME}" fetch_download -fetch_extract;
};