]> granicus.if.org Git - python/commitdiff
bpo-37288: Fix Windows build when --no-tkinter is specified (GH-14096)
authorPaul Monson <paulmon@users.noreply.github.com>
Mon, 17 Jun 2019 15:21:28 +0000 (08:21 -0700)
committerSteve Dower <steve.dower@python.org>
Mon, 17 Jun 2019 15:21:28 +0000 (08:21 -0700)
PCbuild/python.vcxproj

index fdf8f12037aa53f478580d773b2339e93c93bbd8..e37bcfb0b6e1852fa98fccc65ef1db68d04641bd 100644 (file)
@@ -150,10 +150,10 @@ $(_PGOPath)
       <LicenseFiles Include="$(PySourcePath)LICENSE;
                              $(PySourcePath)PC\crtlicense.txt;
                              $(bz2Dir)LICENSE;
-                             $(opensslOutDir)LICENSE;
-                             $(tcltkDir)tcllicense.terms;
+                             $(opensslOutDir)LICENSE;" />
+      <LicenseFiles Include="$(tcltkDir)tcllicense.terms;
                              $(tcltkDir)tklicense.terms;
-                             $(tcltkDir)tixlicense.terms" />
+                             $(tcltkDir)tixlicense.terms" Condition="$(IncludeTkinter)" />
       <_LicenseFiles Include="@(LicenseFiles)">
         <Content>$([System.IO.File]::ReadAllText(%(FullPath)))</Content>
       </_LicenseFiles>