archrelease: copy trunk to extra-x86_64
[arch-packages.git] / protobuf / repos / extra-x86_64 / protobuf-21.12-pep517.patch
blob51f3f670061d4b57d2b939d56db3099190d184a4
1 diff -ruN a/python/setup.py b/python/setup.py
2 --- a/python/setup.py 2022-12-13 01:03:12.000000000 +0100
3 +++ b/python/setup.py 2023-04-06 22:12:36.199029178 +0200
4 @@ -220,10 +220,10 @@
5 return False
8 -if __name__ == '__main__':
9 +if True:
10 ext_module_list = []
11 warnings_as_errors = '--warnings_as_errors'
12 - if GetOptionFromArgv('--cpp_implementation'):
13 + if True:
14 # Link libprotobuf.a and libprotobuf-lite.a statically with the
15 # extension. Note that those libraries have to be compiled with
16 # -fPIC for this to work.