diff options
author | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2018-05-17 12:11:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 12:11:50 +0300 |
commit | c36b8aed3a8a885763d136dcb894628d317b1e58 (patch) | |
tree | f90a1e8e2ebf54ffcb395758f51a40200e7f944c /src/Native | |
parent | 3bc92075760d474f64686b86882e532ad66b9780 (diff) |
Do not build System.Private.TypeLoader.Native for WASM (#5811)
These are assembly helpers that support various thunk pools. WASM will have to do this in a different way. Should fix #5810.
Diffstat (limited to 'src/Native')
-rw-r--r-- | src/Native/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Native/CMakeLists.txt b/src/Native/CMakeLists.txt index 2da913649..256cb8ad0 100644 --- a/src/Native/CMakeLists.txt +++ b/src/Native/CMakeLists.txt @@ -228,7 +228,9 @@ if(NOT WIN32) add_subdirectory(System.Private.CoreLib.Native) endif(NOT WIN32) -add_subdirectory(System.Private.TypeLoader.Native) +if(NOT CLR_CMAKE_PLATFORM_WASM) + add_subdirectory(System.Private.TypeLoader.Native) +endif(NOT CLR_CMAKE_PLATFORM_WASM) if(OBJWRITER_BUILD) add_subdirectory(ObjWriter/llvmCap) |