From f76fed00c9c9289b354e7f8dd6f14ea699ef16a2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 4 Jun 2020 18:21:34 -0400 Subject: 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 --- include/rpath.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/rpath.h') diff --git a/include/rpath.h b/include/rpath.h index 2a33bea..1703b76 100644 --- a/include/rpath.h +++ b/include/rpath.h @@ -7,11 +7,11 @@ Process *patchelf(const char *_filename, const char *_args); Process *install_name_tool(const char *_filename, const char *_args); FSTree *rpath_libraries_available(const char *root); -char *rpath_autodetect(const char *filename, FSTree *tree); +char *rpath_autodetect(const char *filename, FSTree *tree, const char *destroot); int has_rpath(const char *_filename); char *rpath_get(const char *_filename); -char *rpath_generate(const char *_filename, FSTree *tree); -int rpath_autoset(const char *filename, FSTree *tree); +char *rpath_generate(const char *_filename, FSTree *tree, const char *destroot); +int rpath_autoset(const char *filename, FSTree *tree, const char *destroot); int rpath_set(const char *filename, const char *rpath); #endif //SPM_RPATH_H -- cgit