diff options
Diffstat (limited to 'python/setup.py')
-rwxr-xr-x | python/setup.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/python/setup.py b/python/setup.py index 6eecd489..9441d0e1 100755 --- a/python/setup.py +++ b/python/setup.py @@ -138,10 +138,9 @@ class build_py(_build_py): if __name__ == '__main__': ext_module_list = [] - nocpp = '--nocpp_implementation' - if nocpp in sys.argv: + cpp_impl = '--cpp_implementation' + if cpp_impl in sys.argv: sys.argv.remove(cpp_impl) - else: # C++ implementation extension ext_module_list.append(Extension( "google.protobuf.pyext._message", |