summaryrefslogtreecommitdiff
path: root/src/corefx
diff options
context:
space:
mode:
Diffstat (limited to 'src/corefx')
-rw-r--r--src/corefx/CMakeLists.txt2
-rw-r--r--src/corefx/System.Globalization.Native/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/corefx/CMakeLists.txt b/src/corefx/CMakeLists.txt
index 7bd522d3bf..5abcaa32c9 100644
--- a/src/corefx/CMakeLists.txt
+++ b/src/corefx/CMakeLists.txt
@@ -9,6 +9,8 @@
# assemblies) or System.Diagnostics.Process.Native (a native interop library for
# System.Diagnostics.Process.dll).
+remove_definitions(-D_WIN64)
+
if(CLR_CMAKE_PLATFORM_UNIX)
add_subdirectory(System.Globalization.Native)
endif(CLR_CMAKE_PLATFORM_UNIX)
diff --git a/src/corefx/System.Globalization.Native/CMakeLists.txt b/src/corefx/System.Globalization.Native/CMakeLists.txt
index bf279efe6a..3d9e392132 100644
--- a/src/corefx/System.Globalization.Native/CMakeLists.txt
+++ b/src/corefx/System.Globalization.Native/CMakeLists.txt
@@ -52,7 +52,7 @@ set(NATIVEGLOBALIZATION_SOURCES
include_directories(${UTYPES_H})
-add_library(System.Globalization.Native
+_add_library(System.Globalization.Native
SHARED
${NATIVEGLOBALIZATION_SOURCES}
)