Fix MacOS compiler flags in .NET module
This commit is contained in:
parent
d2a6a187f4
commit
f63cfc12c5
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ namespace {
|
||||||
String get_hostfxr_file_name() {
|
String get_hostfxr_file_name() {
|
||||||
#if defined(WINDOWS_ENABLED) || defined(UWP_ENABLED)
|
#if defined(WINDOWS_ENABLED) || defined(UWP_ENABLED)
|
||||||
return "hostfxr.dll";
|
return "hostfxr.dll";
|
||||||
#elif defined(OSX_ENABLED) || defined(IOS_ENABLED)
|
#elif defined(MACOS_ENABLED) || defined(IOS_ENABLED)
|
||||||
return "libhostfxr.dylib";
|
return "libhostfxr.dylib";
|
||||||
#else
|
#else
|
||||||
return "libhostfxr.so";
|
return "libhostfxr.so";
|
||||||
|
@ -197,7 +197,7 @@ bool get_default_installation_dir(String &r_dotnet_root) {
|
||||||
|
|
||||||
r_dotnet_root = path::join(program_files_dir, "dotnet");
|
r_dotnet_root = path::join(program_files_dir, "dotnet");
|
||||||
return true;
|
return true;
|
||||||
#elif defined(TARGET_OSX)
|
#elif defined(MACOS_ENABLED)
|
||||||
r_dotnet_root = "/usr/local/share/dotnet";
|
r_dotnet_root = "/usr/local/share/dotnet";
|
||||||
|
|
||||||
#if defined(__x86_64) || defined(__x86_64__) || defined(__amd64__) || defined(_M_X64)
|
#if defined(__x86_64) || defined(__x86_64__) || defined(__amd64__) || defined(_M_X64)
|
||||||
|
|
Loading…
Reference in a new issue