git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
6521cc7
)
python: add PYTHON_INC_DIR var to CPPFLAGS
author
Alexandru Ardelean
<redacted>
Sun, 19 Oct 2014 07:03:44 +0000
(10:03 +0300)
committer
Alexandru Ardelean
<redacted>
Sun, 19 Oct 2014 19:33:08 +0000
(22:33 +0300)
The target's PYTHON_INC_DIR should take precedence over the host's
include dir when cross-compiling.
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/files/python-package.mk
patch
|
blob
|
history
diff --git
a/lang/python/files/python-package.mk
b/lang/python/files/python-package.mk
index 8bf51ed95fb859c0505d35ade7a9d3a6d1f33a92..2730763872d9774c04efec98cce4df7a31ff7897 100644
(file)
--- a/
lang/python/files/python-package.mk
+++ b/
lang/python/files/python-package.mk
@@
-75,7
+75,7
@@
define Build/Compile/PyMod
CC="$(TARGET_CC)" \
CCSHARED="$(TARGET_CC) $(FPIC)" \
CFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="$(TARGET_CPPFLAGS)" \
+ CPPFLAGS="$(TARGET_CPPFLAGS)
-I$(PYTHON_INC_DIR)
" \
LDFLAGS="$(TARGET_LDFLAGS)" \
$(3) \
, \
git clone https://git.99rst.org/PROJECT