From 229c9d2c4371f68fad3bfe7ba50f6db87d493e71 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Mon, 14 Mar 2022 12:09:04 -0400 Subject: [PATCH] Fix KeepNativeSymbols to work on mono as well When packaging .NET on s390x through source-build, we want to keep debug symbols enabled in the build. The package manager (debbuild, rpmbuild, etc) generally strips the binaries to create distro-standard -debug/-debuginfo packages. This was supported in coreclr via --keepnativesymbols flag, but wasn't supported in mono (ie, s390x). Fix that. --- src/mono/mono.proj | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mono/mono.proj b/src/mono/mono.proj index 29bb8d5c8602b3..cd57b0d580d50c 100644 --- a/src/mono/mono.proj +++ b/src/mono/mono.proj @@ -539,17 +539,17 @@ <_Objcopy Condition="'$(_ObjcopyFound)' != '0'">objcopy - + - - - - - - + + + + + +