aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2010-05-11 19:32:41 +0000
committerJames Yonan <james@openvpn.net>2010-05-11 19:32:41 +0000
commitb27dc04c366c031f4bb349e3235a2b0eb76c821a (patch)
treeecf3f1de1ef0efd4fe0b802e8789988ae42fe271 /win
parentFixed issue on Windows with MSVC compiler, where TCP_NODELAY support (diff)
downloadopenvpn-b27dc04c366c031f4bb349e3235a2b0eb76c821a.tar.xz
Proxy improvements:
Improved the ability of http-auth "auto" flag to dynamically detect the auth method required by the proxy. Added http-auth "auto-nct" flag to reject weak proxy auth methods. Added HTTP proxy digest authentication method. Removed extraneous openvpn_sleep calls from proxy.c. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5628 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'win')
-rw-r--r--win/build.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/win/build.py b/win/build.py
index f42715b..3a9fbc7 100644
--- a/win/build.py
+++ b/win/build.py
@@ -1,4 +1,4 @@
-import os
+import os, sys
from wb import system, config, home_fn, cd_home
os.environ['PATH'] += ";%s\\VC" % (os.path.normpath(config['MSVC']),)
@@ -10,6 +10,13 @@ def main():
cd_home()
build_vc("nmake /f %s" % (home_fn('msvc.mak'),))
+def clean():
+ cd_home()
+ build_vc("nmake /f %s clean" % (home_fn('msvc.mak'),))
+
# if we are run directly, and not loaded as a module
if __name__ == "__main__":
- main()
+ if len(sys.argv) == 2 and sys.argv[1] == 'clean':
+ clean()
+ else:
+ main()