aboutsummaryrefslogtreecommitdiff
path: root/lib/relocation.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2020-06-04 18:21:34 -0400
committerGitHub <noreply@github.com>2020-06-04 18:21:34 -0400
commitf76fed00c9c9289b354e7f8dd6f14ea699ef16a2 (patch)
treef78be5fa8c4de8657798cc8f63f4497930c8e16b /lib/relocation.c
parent65934ab40dfba9be3c0d6cb535f4243e25920711 (diff)
downloadspmc-f76fed00c9c9289b354e7f8dd6f14ea699ef16a2.tar.gz
Bsdtar (#42)
* Add docker build image * Use bsdtar * Disable ORIGIN * tar is bsdtar * Use absolute rpath * Replace matched path with destroot+libpath * No RPATH recieves a likely default path * Use RPATH not RUNPATH * Add bsdtar to circleci deps * Replace tar references
Diffstat (limited to 'lib/relocation.c')
-rw-r--r--lib/relocation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/relocation.c b/lib/relocation.c
index a0ba6a6..870d7cf 100644
--- a/lib/relocation.c
+++ b/lib/relocation.c
@@ -423,7 +423,7 @@ void relocate_root(const char *destroot, const char *baseroot) {
if (SPM_GLOBAL.verbose) {
printf("Relocate RPATH: %s\n", b_record[i]->path);
}
- rpath_autoset(b_record[i]->path, libs);
+ rpath_autoset(b_record[i]->path, libs, destroot);
}
if (SPM_GLOBAL.verbose) {
printf("Relocate DATA : %s\n", b_record[i]->path);