Fix PYTHON_ADDINCL for USE_SYSTEM_PYTHON builds
@@ -1753,7 +1753,7 @@ macro PYTHON_ADDINCL() {
}
otherwise {
when ($USE_SYSTEM_PYTHON) {
- ADDINCL+=contrib/libs/platform/python
+ PEERDIR+=contrib/libs/platform/python
}
otherwise {
CFLAGS+=$PYTHON_INCLUDE
