diff options
Diffstat (limited to 'lib/rpath.c')
-rw-r--r-- | lib/rpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpath.c b/lib/rpath.c index ae73574..0044db8 100644 --- a/lib/rpath.c +++ b/lib/rpath.c @@ -256,7 +256,7 @@ char *rpath_autodetect(const char *filename, FSTree *tree) { // Is the shared library in the tree? char *match = NULL; - if ((match = dirname(strstr_array(tree->files, shared_library))) != NULL) { + if ((match = dirname(fstree_search(tree, shared_library))) != NULL) { // Begin generating the relative path string strcat(relative, origin); strcat(relative, DIRSEPS); |