Fix OSX debugging (#23924)
authorJan Vorlicek <janvorli@microsoft.com>
Fri, 12 Apr 2019 21:55:07 +0000 (23:55 +0200)
committerJuan Hoyos <juan.hoyos@microsoft.com>
Fri, 12 Apr 2019 21:55:07 +0000 (14:55 -0700)
commit2573e4e5c12c4fd165db53cc31b0fc14c118d47b
tree737ade42d19a76eac3683f93775c69d31c3ede79
parent97496018ccd9f6b2bdc908fd47fdffaedee1e882
Fix OSX debugging (#23924)

A recent change has incorrectly added dependency on libcoreclrpal.a to
libutilcodenohost.a. This in turn, due to the transitive propagation of
dependencies, caused the libmscordbi to be linked with libcoreclrpal.a.
So libmscordbi contained its own PAL after that change, which is wrong.
libmscordbi should depend on PAL APIs through libmscordaccore that
exports the symbols it needs for it in order to keep just one PAL in the
process.

The fix is to remove the libcoreclrpal.a dependency and export few
new symbols from libmscordaccore instead.
src/dlls/mscordac/mscordac_unixexports.src
src/utilcode/staticnohost/CMakeLists.txt