diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-20 20:28:28 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-21 01:47:45 +0400 |
commit | 1e738c5ef2cb5a1bf5794bb044114991e057d5e6 (patch) | |
tree | 396f3bd260d86ab353056a9365e0a76a69b6c9a0 /configure | |
parent | 815a181d03641573a92441d31764f53b0f6e778e (diff) |
build: make python executable configurable
Upstreamed in https://codereview.chromium.org/11418101/
Fixes #4287.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure index bf27cbdaf6e..2778da276df 100755 --- a/configure +++ b/configure @@ -573,7 +573,7 @@ def configure_openssl(o): output = { - 'variables': {}, + 'variables': { 'python': sys.executable }, 'include_dirs': [], 'libraries': [], 'defines': [], @@ -611,6 +611,7 @@ config = { 'BUILDTYPE': 'Debug' if options.debug else 'Release', 'USE_NINJA': str(int(options.use_ninja or 0)), 'USE_XCODE': str(int(options.use_xcode or 0)), + 'PYTHON': sys.executable, } config = '\n'.join(map('='.join, config.iteritems())) + '\n' |