From cb13057a00bee6a4c0dd414b44686d3ee5680cba Mon Sep 17 00:00:00 2001 From: nadya73 Date: Tue, 30 Jul 2024 13:16:23 +0300 Subject: [yt/cpp/mapreduce]Fix build with system protoc, std::string and system stl Fix build with system protoc, std::string and system stl 8b5b81b2d7855f6b0dcb4bb0583a6408e5b7d3f7 --- library/python/protobuf/runtime/ya.make | 13 +++++++++++++ library/python/testing/swag/lib/ya.make | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 library/python/protobuf/runtime/ya.make (limited to 'library/python') 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 ) -- cgit v1.3