depot/third_party/nixpkgs/pkgs/development/python-modules/protobuf/use-nixpkgs-abseil-cpp.patch
Default email c7f94ff3ce Project import generated by Copybara.
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
2023-08-22 22:05:09 +02:00

13 lines
539 B
Diff

diff --git a/setup.py b/setup.py
index e65631013..d511c2996 100755
--- a/setup.py
+++ b/setup.py
@@ -412,7 +412,7 @@ if __name__ == '__main__':
Extension(
'google.protobuf.pyext._message',
glob.glob('google/protobuf/pyext/*.cc'),
- include_dirs=['.', '../src', '../third_party/abseil-cpp'],
+ include_dirs=['.', '../src', '@abseil_cpp_include_path@'],
libraries=libraries,
extra_objects=extra_objects,
extra_link_args=message_extra_link_args,