summaryrefslogtreecommitdiffstats
path: root/library/python/runtime_py3
diff options
context:
space:
mode:
authorshadchin <[email protected]>2026-01-23 06:04:06 +0300
committershadchin <[email protected]>2026-01-23 06:19:39 +0300
commitdaf5ec5586652231fbff6672d434a2eaafcc63ac (patch)
tree14d9b97951ff767a22bc148d5dbdfaf2cfef7e4b /library/python/runtime_py3
parent1531cd12bbebd71ec7b11461f478d22d7d7583bd (diff)
Fix `USE_PYTHON3_PREV` v.2
commit_hash:580fc5bd507b881b93b57abb14e0a304ca179973
Diffstat (limited to 'library/python/runtime_py3')
-rw-r--r--library/python/runtime_py3/stage0pycc/ya.make14
1 files changed, 12 insertions, 2 deletions
diff --git a/library/python/runtime_py3/stage0pycc/ya.make b/library/python/runtime_py3/stage0pycc/ya.make
index 312a0fe8adf..b9f0d9c23ac 100644
--- a/library/python/runtime_py3/stage0pycc/ya.make
+++ b/library/python/runtime_py3/stage0pycc/ya.make
@@ -1,15 +1,25 @@
PROGRAM()
-PYTHON3_ADDINCL()
+IF (NOT USE_ARCADIA_PYTHON)
+ PYTHON3_ADDINCL()
-IF (USE_PYTHON3_PREV)
+ PEERDIR(
+ contrib/tools/python3
+ )
+ELSEIF (USE_PYTHON3_PREV)
PEERDIR(
contrib/tools/python3_prev
)
+ ADDINCL(
+ contrib/tools/python3_prev/Include
+ )
ELSE()
PEERDIR(
contrib/tools/python3
)
+ ADDINCL(
+ contrib/tools/python3/Include
+ )
ENDIF()
SRCS(main.cpp)