python: add PYTHON_INC_DIR var to CPPFLAGS
The target's PYTHON_INC_DIR should take precedence over the host's include dir when cross-compiling. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
parent
6521cc7ed7
commit
bfb286ff62
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ define Build/Compile/PyMod
|
||||||
CC="$(TARGET_CC)" \
|
CC="$(TARGET_CC)" \
|
||||||
CCSHARED="$(TARGET_CC) $(FPIC)" \
|
CCSHARED="$(TARGET_CC) $(FPIC)" \
|
||||||
CFLAGS="$(TARGET_CFLAGS)" \
|
CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
CPPFLAGS="$(TARGET_CPPFLAGS)" \
|
CPPFLAGS="$(TARGET_CPPFLAGS) -I$(PYTHON_INC_DIR)" \
|
||||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||||
$(3) \
|
$(3) \
|
||||||
, \
|
, \
|
||||||
|
|
Loading…
Reference in a new issue