Skip to content

Commit

Permalink
Merge pull request EOSIO#11 from EOSIO/feature/relative_symlinks_10
Browse files Browse the repository at this point in the history
Fix for issue EOSIO#10
  • Loading branch information
larryk85 committed Jul 17, 2018
2 parents 6f27b03 + 7b3d731 commit 702d3e7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions InstallClang.txt
Expand Up @@ -2,11 +2,9 @@ macro(install_symlink from to)
install(CODE
"execute_process(COMMAND mkdir -p \$ENV{DESTDIR}${SDK_INSTALL_PREFIX}/bin)
execute_process(COMMAND mkdir -p \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin)
execute_process(COMMAND ln -sf \$ENV{DESTDIR}${SDK_INSTALL_PREFIX}/bin/${from} \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/${to})")
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ../eosio.wasmsdk/bin/${from} \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/${to})")
endmacro()

install_symlink(llvm-ranlib eosio.ranlib)

# install clang and llvm
set(CLANG_BIN_DIR ${CMAKE_BINARY_DIR}/EosioClang-prefix/src/EosioClang-build/bin)
install(FILES ${CLANG_BIN_DIR}/llvm-ranlib
Expand Down

0 comments on commit 702d3e7

Please sign in to comment.