Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix gcc linux x64 build
  • Loading branch information
Mike McLaughlin authored and Mike McLaughlin committed May 9, 2023
commit ae4649a1e0175ca7eed091cbcecdb21fa6eddb8f
10 changes: 5 additions & 5 deletions src/native/corehost/apphost/static/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,11 @@ if(CLR_CMAKE_TARGET_WIN32)
set(RUNTIMEINFO_LIB runtimeinfo)

else()
set(NATIVE_LIBS
if(CLR_CMAKE_HOST_OSX OR (CLR_CMAKE_HOST_LINUX AND NOT CLR_CMAKE_HOST_UNIX_X86 AND NOT CLR_CMAKE_HOST_ANDROID))
LIST(APPEND NATIVE_LIBS createdump_static)
endif()

LIST(APPEND NATIVE_LIBS
coreclr_static

System.Globalization.Native-Static
Expand All @@ -149,10 +153,6 @@ else()
nativeresourcestring
)

if(CLR_CMAKE_HOST_OSX OR (CLR_CMAKE_HOST_LINUX AND NOT CLR_CMAKE_HOST_UNIX_X86 AND NOT CLR_CMAKE_HOST_ANDROID))
LIST(APPEND NATIVE_LIBS createdump_static)
endif()

# additional requirements for System.IO.Compression.Native
include(${CLR_SRC_NATIVE_DIR}/libs/System.IO.Compression.Native/extra_libs.cmake)
append_extra_compression_libs(NATIVE_LIBS)
Expand Down