Skip to content

Commit

Permalink
SWDEV-383796 - [HIPIFY][#690][SWDEV-310152][package][build][revert] R…
Browse files Browse the repository at this point in the history
…emove rpath from binary files

[Reason]
+ Reverting the removal of `rpath` from binary files due to deferring it to 5.6

Change-Id: I14d19447214f1578006eb11f224a7594c95338d4
  • Loading branch information
emankov authored and raramakr committed Feb 16, 2023
1 parent 8aa1bb3 commit d57a7df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ if(UNIX)

#get rid of any RPATH definations already
set_target_properties(hipify-clang PROPERTIES INSTALL_RPATH "")
#set RPATH for the binary
set_target_properties(hipify-clang PROPERTIES LINK_FLAGS "-Wl,--disable-new-dtags -Wl,--rpath,$ORIGIN/../lib" )

if(FILE_REORG_BACKWARD_COMPATIBILITY)
include(hipify-backward-compat.cmake)
Expand Down

0 comments on commit d57a7df

Please sign in to comment.