Skip to content

Commit 8fcaffb

Browse files
zoobazware
authored andcommitted
bpo-37326: Include libffi license when available (pythonGH-15921)
1 parent 62cf698 commit 8fcaffb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PCbuild/python.vcxproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,13 @@ $(_PGOPath)
150150
<LicenseFiles Include="$(PySourcePath)LICENSE;
151151
$(PySourcePath)PC\crtlicense.txt;
152152
$(bz2Dir)LICENSE;
153-
$(opensslOutDir)LICENSE;" />
153+
$(opensslOutDir)LICENSE;
154+
$(libffiDir)LICENSE;" />
154155
<LicenseFiles Include="$(tcltkDir)tcllicense.terms;
155156
$(tcltkDir)tklicense.terms;
156157
$(tcltkDir)tixlicense.terms" Condition="$(IncludeTkinter)" />
157158
<_LicenseFiles Include="@(LicenseFiles)">
158-
<Content>$([System.IO.File]::ReadAllText(%(FullPath)))</Content>
159+
<Content Condition="Exists(%(FullPath))">$([System.IO.File]::ReadAllText(%(FullPath)))</Content>
159160
</_LicenseFiles>
160161
</ItemGroup>
161162

0 commit comments

Comments
 (0)