summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2018-08-13 23:04:51 (GMT)
committerGitHub <noreply@github.com>2018-08-13 23:04:51 (GMT)
commit6ddb33afcf50380f37ac7a39b9b0d13533d7ac17 (patch)
treea124c4211962edb35ef9a1a4f1099a14de0802f0
parentf1c935854453382d2e55b7b51934eab8c3f46d1b (diff)
downloadcoreclr-6ddb33afcf50380f37ac7a39b9b0d13533d7ac17.zip
coreclr-6ddb33afcf50380f37ac7a39b9b0d13533d7ac17.tar.gz
coreclr-6ddb33afcf50380f37ac7a39b9b0d13533d7ac17.tar.bz2
Sign xstate binary from correct location (#19470)
* Sign xstate binary from correct location * Only submit xstate binary for x86
-rw-r--r--src/sign.builds6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/sign.builds b/src/sign.builds
index 3df7b68..fbfa446 100644
--- a/src/sign.builds
+++ b/src/sign.builds
@@ -17,9 +17,13 @@
<!-- Ensure cross targeting components are signed properly -->
<WindowsNativeLocation Include="$(BinDir)$(CrossTargetComponentFolder)\*.exe" />
<WindowsNativeLocation Include="$(BinDir)$(CrossTargetComponentFolder)\*.dll" />
+ </ItemGroup>
+
+ <ItemGroup Condition="'$(BuildArch)' == 'x86'">
<!-- Sign api-ms-win-core-xstate-l2-1-0 binary as it is only catalog signed in the current SDK. -->
- <WindowsNativeLocation Include="$(BinDir)Redist\ucrt\DLLs\api-ms-win-core-xstate-l2-1-0.dll" />
+ <WindowsNativeLocation Include="$(BinDir)Redist\ucrt\DLLs\$(BuildArch)\api-ms-win-core-xstate-l2-1-0.dll" />
</ItemGroup>
+
<!-- sign the cross targeted files as well -->
<ItemGroup Condition="'$(CrossTargetComponentFolder)' != ''">
<WindowsNativeLocation Include="$(BinDir)$(CrossTargetComponentFolder)/*.dll" />