Skip to content

Commit da38ec1

Browse files
bpo-37326: Include libffi license when available (GH-15921)
(cherry picked from commit 8fcaffb) Co-authored-by: Steve Dower <steve.dower@python.org>
1 parent c97ee1d commit da38ec1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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)