diff options
Diffstat (limited to 'src/rpath.c')
-rw-r--r-- | src/rpath.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rpath.c b/src/rpath.c index 108e3f2..5dbe8db 100644 --- a/src/rpath.c +++ b/src/rpath.c @@ -164,8 +164,7 @@ int rpath_set(const char *filename, const char *rpath) { char args[PATH_MAX]; memset(args, '\0', PATH_MAX); - sprintf(args, "--set-rpath \"%s\"", rpath); - + sprintf(args, "--set-rpath '%s'", rpath); // note: rpath requires single-quotes Process *pe = patchelf(filename, args); if (pe != NULL) { returncode = pe->returncode; |