From daf5ec5586652231fbff6672d434a2eaafcc63ac Mon Sep 17 00:00:00 2001 From: shadchin Date: Fri, 23 Jan 2026 06:04:06 +0300 Subject: Fix `USE_PYTHON3_PREV` v.2 commit_hash:580fc5bd507b881b93b57abb14e0a304ca179973 --- library/python/runtime_py3/stage0pycc/ya.make | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'library/python/runtime_py3') 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) -- cgit v1.3