diff options
author | Andon Andonov <andon.andonov@microsoft.com> | 2017-12-06 00:36:01 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-12-06 00:36:01 +0300 |
commit | 80eaa5b606a7da95c9fdb39630f72fa13e145678 (patch) | |
tree | 344edbdee8ac174b92afbca51cc85633c3e3ec19 /pkg | |
parent | 3d25db5b1c010346bbc480a20646c80ea413492f (diff) |
Add existance checks for debug symbols (#5070)
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj b/pkg/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj index b437e405c..a94ce651b 100644 --- a/pkg/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj +++ b/pkg/Microsoft.DotNet.ILCompiler/Microsoft.DotNet.ILCompiler.pkgproj @@ -28,20 +28,20 @@ <TargetPath>framework</TargetPath> </File> - <!-- Workaround to avoid linker warnings - include all pdb files for static native libraries --> - <File Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrapper.pdb"> + <!-- Workaround to avoid linker warnings on Windows - include all pdb files for static native libraries --> + <File Condition="Exists('$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrapper.pdb')" Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrapper.pdb"> <TargetPath>sdk</TargetPath> </File> - <File Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrappercpp.pdb"> + <File Condition="Exists('$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrappercpp.pdb')" Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrappercpp.pdb"> <TargetPath>sdk</TargetPath> </File> - <File Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrapperdll.pdb"> + <File Condition="Exists('$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrapperdll.pdb')" Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\bootstrapperdll.pdb"> <TargetPath>sdk</TargetPath> </File> - <File Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\Runtime.pdb"> + <File Condition="Exists('$(BaseOutputPath)\$(OSPlatformConfig)\sdk\Runtime.pdb')" Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\Runtime.pdb"> <TargetPath>sdk</TargetPath> </File> - <File Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\PortableRuntime.pdb"> + <File Condition="Exists('$(BaseOutputPath)\$(OSPlatformConfig)\sdk\PortableRuntime.pdb')" Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\PortableRuntime.pdb"> <TargetPath>sdk</TargetPath> </File> </ItemGroup> |