summaryrefslogtreecommitdiffstats
path: root/library/python
diff options
context:
space:
mode:
authornadya73 <[email protected]>2024-07-30 13:16:23 +0300
committernadya73 <[email protected]>2024-07-30 14:12:09 +0300
commitcb13057a00bee6a4c0dd414b44686d3ee5680cba (patch)
tree18e155bfc7b614a922f5f3640d8d984579267a11 /library/python
parentd7d99122c63ecaa60d07f3eea7589512ff729aec (diff)
[yt/cpp/mapreduce]Fix build with system protoc, std::string and system stl
Fix build with system protoc, std::string and system stl 8b5b81b2d7855f6b0dcb4bb0583a6408e5b7d3f7
Diffstat (limited to 'library/python')
-rw-r--r--library/python/protobuf/runtime/ya.make13
-rw-r--r--library/python/testing/swag/lib/ya.make2
2 files changed, 14 insertions, 1 deletions
diff --git a/library/python/protobuf/runtime/ya.make b/library/python/protobuf/runtime/ya.make
new file mode 100644
index 00000000000..0bb52fffe63
--- /dev/null
+++ b/library/python/protobuf/runtime/ya.make
@@ -0,0 +1,13 @@
+PY23_LIBRARY()
+
+IF (USE_VANILLA_PROTOC AND NOT PYTHON2)
+ PEERDIR(
+ contrib/python/protobuf_std
+ )
+ELSE()
+ PEERDIR(
+ contrib/python/protobuf
+ )
+ENDIF()
+
+END()
diff --git a/library/python/testing/swag/lib/ya.make b/library/python/testing/swag/lib/ya.make
index 0567288a629..c1f486f7fa2 100644
--- a/library/python/testing/swag/lib/ya.make
+++ b/library/python/testing/swag/lib/ya.make
@@ -2,7 +2,7 @@ PY23_LIBRARY()
PEERDIR(
contrib/python/six
- contrib/python/protobuf
+ library/python/protobuf/runtime
library/python/testing/yatest_common
)