File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,10 @@ func (s *LibrariesLoader) Run(ctx *types.Context) error {
38
38
lm .AddLibrariesDir (folder , libraries .IDEBuiltIn )
39
39
}
40
40
41
- actualPlatform := ctx .ActualPlatform
42
- platform := ctx .TargetPlatform
43
- if actualPlatform != platform {
44
- lm .AddPlatformReleaseLibrariesDir (actualPlatform , libraries .ReferencedPlatformBuiltIn )
41
+ if ctx .ActualPlatform != ctx .TargetPlatform {
42
+ lm .AddPlatformReleaseLibrariesDir (ctx .ActualPlatform , libraries .ReferencedPlatformBuiltIn )
45
43
}
46
- lm .AddPlatformReleaseLibrariesDir (platform , libraries .PlatformBuiltIn )
44
+ lm .AddPlatformReleaseLibrariesDir (ctx . TargetPlatform , libraries .PlatformBuiltIn )
47
45
48
46
librariesFolders := ctx .OtherLibrariesDirs
49
47
if err := librariesFolders .ToAbs (); err != nil {
You can’t perform that action at this time.
0 commit comments