Skip to content

Commit 9e609a4

Browse files
committed
Fixed bootstrapping bug with upb when building from a different repo.
This is essentially backporting a fix that exists on main already: https://github.com/protocolbuffers/protobuf/blob/a3c33a87c1f24a7aa082317257a9ee297b4d883d/upb_generator/bootstrap_compiler.bzl#L23
1 parent 14bccc6 commit 9e609a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build_defs/upb.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# begin:github_only
66
_is_google3 = False
77
-_extra_proto_path = "-Iexternal/com_google_protobuf/src "
8-
+_extra_proto_path = "-Isrc "
8+
+_extra_proto_path = "-I$$(dirname $(location @com_google_protobuf//:descriptor_proto_srcs))/../.. "
99
# end:github_only
1010

1111
def _upbc(stage):

0 commit comments

Comments
 (0)