Skip to content

Commit cf46263

Browse files
authored
Fix condition for setting if symbol is a file in native AOT publish targets (dotnet#90438)
1 parent 32a25db commit cf46263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/nativeaot/BuildIntegration/Microsoft.NETCore.Native.Publish.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
<_symbolSourcePath>$(NativeOutputPath)$(TargetName)$(_symbolExt)</_symbolSourcePath>
105105
<_symbolTargetPath>$(PublishDir)\$(TargetName)$(_symbolExt)</_symbolTargetPath>
106106
<!-- If the symbol is a dsym bundle, it's a folder not a file. -->
107-
<_symbolIsFile Condition="'$(_symbolExt)' == '.dsym'">false</_symbolIsFile>
107+
<_symbolIsFile Condition="'$(NativeSymbolExt)' == '.dsym'">false</_symbolIsFile>
108108
<_symbolIsFile Condition="'$(_symbolIsFile)' == ''">true</_symbolIsFile>
109109
</PropertyGroup>
110110

0 commit comments

Comments
 (0)