diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2019-04-12 23:55:07 +0200 |
---|---|---|
committer | Juan Hoyos <juan.hoyos@microsoft.com> | 2019-04-12 14:55:07 -0700 |
commit | 2573e4e5c12c4fd165db53cc31b0fc14c118d47b (patch) | |
tree | 737ade42d19a76eac3683f93775c69d31c3ede79 /src/utilcode | |
parent | 97496018ccd9f6b2bdc908fd47fdffaedee1e882 (diff) | |
download | coreclr-2573e4e5c12c4fd165db53cc31b0fc14c118d47b.tar.gz coreclr-2573e4e5c12c4fd165db53cc31b0fc14c118d47b.tar.bz2 coreclr-2573e4e5c12c4fd165db53cc31b0fc14c118d47b.zip |
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.
Diffstat (limited to 'src/utilcode')
-rw-r--r-- | src/utilcode/staticnohost/CMakeLists.txt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/utilcode/staticnohost/CMakeLists.txt b/src/utilcode/staticnohost/CMakeLists.txt index f4b7909f17..eea4d60785 100644 --- a/src/utilcode/staticnohost/CMakeLists.txt +++ b/src/utilcode/staticnohost/CMakeLists.txt @@ -9,7 +9,4 @@ add_library_clr(utilcodestaticnohost STATIC ${UTILCODE_STATICNOHOST_SOURCES}) if(CLR_CMAKE_PLATFORM_UNIX) target_link_libraries(utilcodestaticnohost nativeresourcestring) - if(CLR_CMAKE_PLATFORM_DARWIN) - target_link_libraries(utilcodestaticnohost coreclrpal) - endif(CLR_CMAKE_PLATFORM_DARWIN) endif(CLR_CMAKE_PLATFORM_UNIX) |