aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xpython/setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py
index f9b890ea..6383bc12 100755
--- a/python/setup.py
+++ b/python/setup.py
@@ -18,6 +18,8 @@ maintainer_email = "protobuf@googlegroups.com"
# Find the Protocol Compiler.
if os.path.exists("../src/protoc"):
protoc = "../src/protoc"
+elif os.path.exists("../src/protoc.exe"):
+ protoc = "../src/protoc.exe"
else:
protoc = find_executable("protoc")