diff options
Diffstat (limited to 'src/coreclr/hosts/unixcorerun/corerun.cpp')
-rw-r--r-- | src/coreclr/hosts/unixcorerun/corerun.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coreclr/hosts/unixcorerun/corerun.cpp b/src/coreclr/hosts/unixcorerun/corerun.cpp index 2d5f129398..4dba489579 100644 --- a/src/coreclr/hosts/unixcorerun/corerun.cpp +++ b/src/coreclr/hosts/unixcorerun/corerun.cpp @@ -17,7 +17,11 @@ #include <set> // The name of the CoreCLR native runtime DLL. +#if defined(__APPLE__) +static const char * const coreClrDll = "libcoreclr.dylib"; +#else static const char * const coreClrDll = "libcoreclr.so"; +#endif // Windows types used by the ExecuteAssembly function typedef unsigned int DWORD; |