Skip to content
Open
Changes from all commits
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
6 changes: 3 additions & 3 deletions src/native/external/libunwind_extras/configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ include(CheckCSourceCompiles)
include(CheckIncludeFiles)
include(CheckFunctionExists)

if(CLR_CMAKE_HOST_WIN32)
if(CLR_CMAKE_HOST_WIN32 AND CLR_CMAKE_TARGET_WIN32)
# Our posix abstraction layer will provide these headers
set(HAVE_ELF_H 1)
set(HAVE_ENDIAN_H 1)
Expand All @@ -25,13 +25,13 @@ if(CLR_CMAKE_HOST_WIN32)
if (NOT HAVE_THREAD_LOCAL)
add_definitions(-D_Thread_local=)
endif (NOT HAVE_THREAD_LOCAL)
else(CLR_CMAKE_HOST_WIN32)
else(CLR_CMAKE_HOST_WIN32 AND CLR_CMAKE_TARGET_WIN32)
check_include_files(elf.h HAVE_ELF_H)
check_include_files(sys/elf.h HAVE_SYS_ELF_H)

check_include_files(endian.h HAVE_ENDIAN_H)
check_include_files(sys/endian.h HAVE_SYS_ENDIAN_H)
endif(CLR_CMAKE_HOST_WIN32)
endif(CLR_CMAKE_HOST_WIN32 AND CLR_CMAKE_TARGET_WIN32)

check_include_files(link.h HAVE_LINK_H)
check_include_files(sys/link.h HAVE_SYS_LINK_H)
Expand Down
Loading