summaryrefslogtreecommitdiffstats
path: root/library/python/runtime_py3
diff options
context:
space:
mode:
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)