Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2018-04-11 01:53:44 +0300
committerGitHub <noreply@github.com>2018-04-11 01:53:44 +0300
commit1718de1ecafb985ffe2ff7bf12a1891aee583f73 (patch)
treedb44555b48d09881af00ea5bfc9276772c27ea8d /pkg
parent16b9fc789e0f126b029da0e250783cd1d48c973b (diff)
Make ObjWriter build work on Windows (#5671)
Diffstat (limited to 'pkg')
-rw-r--r--pkg/Microsoft.DotNet.ObjectWriter/TargetSpecific/Microsoft.DotNet.ObjectWriter.pkgproj8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkg/Microsoft.DotNet.ObjectWriter/TargetSpecific/Microsoft.DotNet.ObjectWriter.pkgproj b/pkg/Microsoft.DotNet.ObjectWriter/TargetSpecific/Microsoft.DotNet.ObjectWriter.pkgproj
index 6f48e056d..901bcb2d2 100644
--- a/pkg/Microsoft.DotNet.ObjectWriter/TargetSpecific/Microsoft.DotNet.ObjectWriter.pkgproj
+++ b/pkg/Microsoft.DotNet.ObjectWriter/TargetSpecific/Microsoft.DotNet.ObjectWriter.pkgproj
@@ -23,11 +23,17 @@
<ObjWriterLibrary Condition="'$(OSGroup)' == 'OSX'">libobjwriter.dylib</ObjWriterLibrary>
</PropertyGroup>
- <ItemGroup>
+ <ItemGroup Condition="'$(OSGroup)' == 'Windows_NT'">
+ <File Include="$(ObjDir)Native\$(OSPlatformConfig)\ObjWriter\llvmCap\LLVM-prefix\src\LLVM-build\bin\$(ConfigurationGroup)\$(ObjWriterLibrary)">
+ <TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
+ </File>
+ </ItemGroup>
+ <ItemGroup Condition="'$(OSGroup)' != 'Windows_NT'">
<File Include="$(ObjDir)Native\$(OSPlatformConfig)\ObjWriter\llvmCap\LLVM-prefix\src\LLVM-build\lib\$(ObjWriterLibrary)">
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
</File>
</ItemGroup>
+
<Target Name="GetPackageDependencies"/>
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\src\dir.targets" />