summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-09 12:06:49 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-02-09 12:06:49 +0000
commit2129ba114fead4135f2f141c93061bb1b5038401 (patch)
treeadcedc4f2dab7c50327341a8cb28dde972f6655e /vars
parent7587a97f647df07261dd02dd9132323ba4e4aec0 (diff)
downloadmidipix_build-2129ba114fead4135f2f141c93061bb1b5038401.tar.bz2
midipix_build-2129ba114fead4135f2f141c93061bb1b5038401.tar.xz
vars/python3_host.vars: compile w/ -I${PREFIX}/include.
Diffstat (limited to 'vars')
-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;
};