diff options
author | Steve Dower <steve.dower@microsoft.com> | 2018-02-17 18:59:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-17 18:59:03 -0800 |
commit | 01423cb53b5662b363d2f1a5963eadfe951ef3e8 (patch) | |
tree | 51d62aa19d6ff0d865080974fe8e0a2052ff1aaf /PCbuild/python.props | |
parent | d6ff8a7037903497eff95fa32bdac2b6adf71505 (diff) | |
download | cpython-git-01423cb53b5662b363d2f1a5963eadfe951ef3e8.tar.gz |
Improves the ability to build in CI (GH-5728)
Diffstat (limited to 'PCbuild/python.props')
-rw-r--r-- | PCbuild/python.props | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/PCbuild/python.props b/PCbuild/python.props index 39b7b8a6b6..f9433133a8 100644 --- a/PCbuild/python.props +++ b/PCbuild/python.props @@ -43,7 +43,9 @@ <BuildPath Condition="$(Configuration) == 'PGInstrument'">$(BuildPath)instrumented\</BuildPath> <!-- Directories of external projects. tcltk is handled in tcltk.props --> - <ExternalsDir>$([System.IO.Path]::GetFullPath(`$(PySourcePath)externals\`))</ExternalsDir> + <ExternalsDir>$(EXTERNALS_DIR)</ExternalsDir> + <ExternalsDir Condition="$(ExternalsDir) == ''">$([System.IO.Path]::GetFullPath(`$(PySourcePath)externals`))</ExternalsDir> + <ExternalsDir Condition="!HasTrailingSlash($(ExternalsDir))">$(ExternalsDir)\</ExternalsDir> <sqlite3Dir>$(ExternalsDir)sqlite-3.21.0.0\</sqlite3Dir> <bz2Dir>$(ExternalsDir)bzip2-1.0.6\</bz2Dir> <lzmaDir>$(ExternalsDir)xz-5.2.2\</lzmaDir> |