Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dg0yt committed Apr 13, 2024
1 parent 131ea7d commit 665642f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/cmake/z_vcpkg_fixup_rpath.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function(z_vcpkg_calculate_corrected_rpath)
string(REPLACE "/lib/pkgconfig/../../" "/" rpath_norm "${rpath_norm}")
# lib relative corrections
string(REPLACE "::${current_prefix}/lib/" "::\$ORIGIN/${relative_to_lib}/" rpath_norm "${rpath_norm}")
string(REPLACE "::${current_installed_prefix}/lib" "::\$ORIGIN/${relative_to_lib}/" rpath_norm "${rpath_norm}")
string(REPLACE "::${current_installed_prefix}/lib/" "::\$ORIGIN/${relative_to_lib}/" rpath_norm "${rpath_norm}")
# prefix relativ
string(REPLACE "::${current_prefix}/" "::\$ORIGIN/${relative_to_prefix}/" rpath_norm "${rpath_norm}")
string(REPLACE "::${current_installed_prefix}/" "::\$ORIGIN/${relative_to_prefix}/" rpath_norm "${rpath_norm}")
Expand Down

0 comments on commit 665642f

Please sign in to comment.