Skip to content

Commit

Permalink
xplat: remove libunwind from CMake file.
Browse files Browse the repository at this point in the history
A small instance where targetting the Chakra.Pal could lead to unexpected
linker errors if libunwind was not installed.
  • Loading branch information
kphillisjr committed Dec 8, 2016
1 parent cb61cb5 commit 21d1b6c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pal/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -180,19 +180,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL Darwin)
endif(CMAKE_SYSTEM_NAME STREQUAL Darwin)

if(CMAKE_SYSTEM_NAME STREQUAL Linux)
if(CC_TARGETS_AMD64)
target_link_libraries(Chakra.Pal
unwind-x86_64
)
endif()

target_link_libraries(Chakra.Pal
gcc_s
pthread
rt
dl
unwind
unwind-generic
)
endif(CMAKE_SYSTEM_NAME STREQUAL Linux)

Expand Down

0 comments on commit 21d1b6c

Please sign in to comment.