summaryrefslogtreecommitdiff
path: root/lang/python3
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2014-10-19 10:03:44 +0300
committerAlexandru Ardelean <aa@ocedo.com>2014-10-20 19:13:32 +0300
commit3edeed3f4dc93b545f18f7b78c554d655fca51f1 (patch)
tree2065179f9f0a41f3fe8f4f4c933c9b21e144bb8c /lang/python3
parentf729ba98c5ba44523202e4bfe98c863830dd818c (diff)
python3: add PYTHON3_INC_DIR var to CPPFLAGS
The target's PYTHON3_INC_DIR should take precedence over the host's include dir when cross-compiling. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python3')
-rw-r--r--lang/python3/files/python3-package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/python3/files/python3-package.mk b/lang/python3/files/python3-package.mk
index d5028d002..ef5fbd6d7 100644
--- a/lang/python3/files/python3-package.mk
+++ b/lang/python3/files/python3-package.mk
@@ -75,7 +75,7 @@ define Build/Compile/Py3Mod
CC="$(TARGET_CC)" \
CCSHARED="$(TARGET_CC) $(FPIC)" \
CFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="$(TARGET_CPPFLAGS)" \
+ CPPFLAGS="$(TARGET_CPPFLAGS) -I$(PYTHON3_INC_DIR)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
$(3) \
, \