summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-09-11 13:43:00 +0100
committerZachary Ware <zachary.ware@gmail.com>2019-09-11 13:43:00 +0100
commit8fcaffb048d2359a4c06ed5d8fbbf46d3ae1a472 (patch)
tree43733b302e2c4acb58aab044f382867456c78aa0
parent62cf6981425c6a6b136c5e2abef853364f535e9d (diff)
downloadcpython-git-8fcaffb048d2359a4c06ed5d8fbbf46d3ae1a472.tar.gz
bpo-37326: Include libffi license when available (GH-15921)
-rw-r--r--PCbuild/python.vcxproj5
1 files changed, 3 insertions, 2 deletions
diff --git a/PCbuild/python.vcxproj b/PCbuild/python.vcxproj
index e37bcfb0b6..2094420a8d 100644
--- a/PCbuild/python.vcxproj
+++ b/PCbuild/python.vcxproj
@@ -150,12 +150,13 @@ $(_PGOPath)
<LicenseFiles Include="$(PySourcePath)LICENSE;
$(PySourcePath)PC\crtlicense.txt;
$(bz2Dir)LICENSE;
- $(opensslOutDir)LICENSE;" />
+ $(opensslOutDir)LICENSE;
+ $(libffiDir)LICENSE;" />
<LicenseFiles Include="$(tcltkDir)tcllicense.terms;
$(tcltkDir)tklicense.terms;
$(tcltkDir)tixlicense.terms" Condition="$(IncludeTkinter)" />
<_LicenseFiles Include="@(LicenseFiles)">
- <Content>$([System.IO.File]::ReadAllText(%(FullPath)))</Content>
+ <Content Condition="Exists(%(FullPath))">$([System.IO.File]::ReadAllText(%(FullPath)))</Content>
</_LicenseFiles>
</ItemGroup>