Skip to content

Commit

Permalink
Fixing bfd install step mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Aug 20, 2021
1 parent 406281a commit 3994b7f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/Modules/FindBFD.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ if((APEX_BUILD_BFD OR (NOT BFD_FOUND)) AND NOT APPLE)
)
ExternalProject_Add_Step(project_binutils basedirs2
DEPENDEES install
COMMAND cp <SOURCE_DIR>/include/demangle.h ${CMAKE_INSTALL_PREFIX}/binutils/include/.
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_INSTALL_PREFIX}/binutils/lib ${CMAKE_INSTALL_PREFIX}/binutils/lib64
if(NOT EXISTS ${CMAKE_INSTALL_PREFIX}/binutils/lib64)
COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_INSTALL_PREFIX}/binutils/lib ${CMAKE_INSTALL_PREFIX}/binutils/lib64
endif()
COMMENT "Adding lib64 simlink"
)

Expand Down

0 comments on commit 3994b7f

Please sign in to comment.