aboutsummaryrefslogtreecommitdiff
path: root/src/shlib.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-03-12 08:58:04 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-03-12 08:58:04 -0400
commit79a728e11d9b4fdc8bd2860e3cf8845e84102639 (patch)
tree70f2a6971afa9c92463662e912e420f8613e8f88 /src/shlib.c
parentceaddb377886ffb59d36ce2251bc3c7da73d7078 (diff)
downloadspmc-79a728e11d9b4fdc8bd2860e3cf8845e84102639.tar.gz
Use system utilities to check rpath
Diffstat (limited to 'src/shlib.c')
-rw-r--r--src/shlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shlib.c b/src/shlib.c
index db79cc3..a8222af 100644
--- a/src/shlib.c
+++ b/src/shlib.c
@@ -15,7 +15,7 @@ char *shlib_deps_objdump(const char *_filename) {
}
strchrdel(filename, SHELL_INVALID);
- snprintf(cmd, sizeof(cmd), "%s %s '%s'", "objdump", "-p", filename);
+ snprintf(cmd, sizeof(cmd), "%s %s '%s'", SPM_SHLIB_EXEC, "-p", filename);
shell(&proc, SHELL_OUTPUT, cmd);
if (proc->returncode != 0) {