From 0759d98122c95050c5bf8c7d682d9750525751b8 Mon Sep 17 00:00:00 2001 From: Alex Ghiondea Date: Wed, 28 Oct 2015 16:44:24 -0700 Subject: Implement GetEnvironmentVariable and ExpandEnvironmentVariables on Linux. Create the Native PAL layer that uses the native getenv method to retrieve the environemnt variable. Create the right Interop function in managed code to allow us to call the native PAL Implement the managed side of the GetEnvironmentVariable and ExpandEnvironmentVariable to leverage the PAL --- src/Native/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/Native/CMakeLists.txt') diff --git a/src/Native/CMakeLists.txt b/src/Native/CMakeLists.txt index e2fcacc2f..d04a381a4 100644 --- a/src/Native/CMakeLists.txt +++ b/src/Native/CMakeLists.txt @@ -129,3 +129,8 @@ if(WIN32) endif() add_subdirectory(Runtime) add_subdirectory(Bootstrap) + +# We don't need the PAL on Windows. +if(CMAKE_SYSTEM_NAME STREQUAL Linux) + add_subdirectory(System.Private.CoreLib.Native) +endif() -- cgit v1.2.3