Fix the build of Loader/NativeLib test (dotnet/coreclr#22648)
authorSwaroop Sridhar <Swaroop.Sridhar@microsoft.com>
Sun, 17 Feb 2019 21:27:41 +0000 (13:27 -0800)
committerGitHub <noreply@github.com>
Sun, 17 Feb 2019 21:27:41 +0000 (13:27 -0800)
commit2a0ead032852d651247a2b56d72c74bfb96052a9
tree9b43da5ca1c6ff08835a78312f4e5a32c03f65db
parent95a3eb2956a893f6a98e3e61a3e0d0e88012ec2b
Fix the build of Loader/NativeLib test (dotnet/coreclr#22648)

The native test assets were not build correctly on Unix platforms.
The native library exports were generated as private symbols by clang.

This change fixes the export declaration so that the global symbols are
correctly generated for exported symbols.

Fixes dotnet/coreclr#22549

Commit migrated from https://github.com/dotnet/coreclr/commit/390d002ac1ff919fcaae047eb09217ddeac78779
src/coreclr/tests/issues.targets
src/coreclr/tests/src/Loader/NativeLibs/CMakeLists.txt
src/coreclr/tests/src/Loader/NativeLibs/FromNativePaths_lib.cpp
src/coreclr/tests/src/Loader/NativeLibs/FromNativePaths_lib.def [deleted file]