Skip to content

Commit 225168e

Browse files
authored
Merge pull request #56 from ader1990/fix_gt_255_chars_win_paths
Fix build when Windows paths are longer than 255 characters
2 parents 90ec2f9 + 84e2fd9 commit 225168e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

BuildAutomation/BuildCloudbaseInitSetup.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ if ($platform -eq "x86") {
2727
$platformVCVarsRequired = "x86"
2828
}
2929

30+
# Fix required to allow for >= 255 characters paths. Required for Python folder bundling.
31+
Set-ItemProperty "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1
32+
3033
SetVCVars $VCVars $platformVCVarsRequired
3134

3235
# Needed for SSH

0 commit comments

Comments
 (0)