From fcb1dfec3ae3ca84efc03c8258724028d2b14492 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sat, 2 Jan 2016 18:06:45 -0800 Subject: [PATCH] Support linkers that allow relative library paths. --- Execute.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Execute.cpp b/Execute.cpp index a7a68ac..fc19fba 100644 --- a/Execute.cpp +++ b/Execute.cpp @@ -2067,7 +2067,8 @@ const char *CYPoolLibraryPath(CYPool &pool) { char *lib(pool.strdup(addr.dli_fname)); char *slash(strrchr(lib, '/')); - _assert(slash != NULL); + if (slash == NULL) + return "."; *slash = '\0'; slash = strrchr(lib, '/'); -- 2.47.2