aboutsummaryrefslogtreecommitdiff
path: root/tests/test_shlib_spm_shlib_deps.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-04-24 14:13:37 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-04-24 14:13:37 -0400
commit24992f1f426111f0ce05df341087a55486ae48db (patch)
treeb275d303c93662ea4879fdca4597aa21e1c9421c /tests/test_shlib_spm_shlib_deps.c
parent7b6c6cb4cad10e3aac170dc4204b4ca782974a28 (diff)
downloadspmc-24992f1f426111f0ce05df341087a55486ae48db.tar.gz
Fix invocation of join_ex()
Diffstat (limited to 'tests/test_shlib_spm_shlib_deps.c')
-rw-r--r--tests/test_shlib_spm_shlib_deps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_shlib_spm_shlib_deps.c b/tests/test_shlib_spm_shlib_deps.c
index 46a06db..4f0bfd4 100644
--- a/tests/test_shlib_spm_shlib_deps.c
+++ b/tests/test_shlib_spm_shlib_deps.c
@@ -30,7 +30,7 @@ static char *find_library(const char *name) {
}
for (size_t i = 0; LIBRARY_SEARCH_PATH[i] != NULL; i++) {
- path = join_ex(path, DIRSEPS, LIBRARY_SEARCH_PATH[i], name);
+ path = join_ex(DIRSEPS, LIBRARY_SEARCH_PATH[i], name, NULL);
if (path != NULL && exists(path) == 0) {
break;
}