Only add CORE_LIBRARIES to TPA list if it is different from clrFilesAbsolutePath
authorEric Mellino <erme@microsoft.com>
Tue, 3 Jan 2017 19:22:13 +0000 (11:22 -0800)
committerEric Mellino <erme@microsoft.com>
Tue, 3 Jan 2017 19:22:13 +0000 (11:22 -0800)
commit83f91d55f462df1b8c447e36f5bdd126c17a559d
tree1653f9e7c817e26ce585c08f3aeeee28e4db2475
parent25cc9bb715d666e824a002233a1f04f5997e2959
Only add CORE_LIBRARIES to TPA list if it is different from clrFilesAbsolutePath

This avoids placing duplicate entries on the TPA list.

Commit migrated from https://github.com/dotnet/coreclr/commit/f90e95606c8c335327c0729c16a90fbf5dddcfd1
src/coreclr/src/coreclr/hosts/unixcoreruncommon/coreruncommon.cpp