Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #23937 from hoyosjs/juhoyosa/pal-link-fix
Browse files Browse the repository at this point in the history
Add PAL exports to DAC and remove linkage of PAL from static utility library
  • Loading branch information
mmitche committed Apr 12, 2019
2 parents 5ecae61 + 88c12b2 commit d833cac
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src/dlls/mscordac/mscordac_unixexports.src
Expand Up @@ -112,16 +112,20 @@ nativeStringResourceTable_mscorrc_debug
#GetCurrentDirectoryW
#GetCurrentProcess
#GetCurrentProcessId
#GetCurrentProcessorNumberEx
#GetCurrentThreadId
#GetEnvironmentVariableA
#GetEnvironmentVariableW
#GetFileAttributesExW
#GetFileAttributesW
#GetFileSize
#GetFullPathNameW
#GetLogicalProcessorInformationEx
#GetLastError
#GetLongPathNameW
#GetModuleFileNameW
#GetNumaHighestNodeNumber
#GetNumaProcessorNodeEx
#GetProcAddress
#GetProcessAffinityMask
#GetProcessHeap
Expand All @@ -133,6 +137,7 @@ nativeStringResourceTable_mscorrc_debug
#GetTempFileNameW
#GetTempPathA
#GetTempPathW
#GetThreadGroupAffinity
#HeapAlloc
#HeapFree
#HeapSetInformation
Expand Down Expand Up @@ -168,6 +173,7 @@ nativeStringResourceTable_mscorrc_debug
#SetFilePointer
#SetLastError
#SetErrorMode
#SetThreadGroupAffinity
#Sleep
#SleepEx
#SwitchToThread
Expand All @@ -179,6 +185,7 @@ nativeStringResourceTable_mscorrc_debug
#TlsGetValue
#TlsSetValue
#VirtualAlloc
#VirtualAllocExNuma
#VirtualFree
#VirtualProtect
#VirtualQuery
Expand Down
3 changes: 0 additions & 3 deletions src/utilcode/staticnohost/CMakeLists.txt
Expand Up @@ -9,7 +9,4 @@ add_library_clr(utilcodestaticnohost STATIC ${UTILCODE_STATICNOHOST_SOURCES})

if(CLR_CMAKE_PLATFORM_UNIX)
target_link_libraries(utilcodestaticnohost nativeresourcestring)
if(CLR_CMAKE_PLATFORM_DARWIN)
target_link_libraries(utilcodestaticnohost coreclrpal)
endif(CLR_CMAKE_PLATFORM_DARWIN)
endif(CLR_CMAKE_PLATFORM_UNIX)

0 comments on commit d833cac

Please sign in to comment.