mirror of
https://github.com/openwrt/packages.git
synced 2025-12-24 08:28:20 +04:00
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>
This commit is contained in:
committed by
Alexandru Ardelean
parent
f729ba98c5
commit
3edeed3f4d
@@ -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) \
|
||||
, \
|
||||
|
||||
Reference in New Issue
Block a user