Ticket #54661: patch-lib-locs.diff
File patch-lib-locs.diff, 769 bytes (added by RJVB (René Bertin), 7 years ago) |
---|
-
dl_posix.c
old new 65 65 @executable_path - location of running binary (ex. /Applications/Some.app/Contents/MacOS) 66 66 @rpath - search rpaths of running binary (man install_name_path) 67 67 */ 68 static const char *search_paths[] = {"", "@ loader_path/lib/", "@loader_path/", "@executable_path/",68 static const char *search_paths[] = {"", "@PREFIX@/lib/", "@loader_path/lib/", "@loader_path/", "@executable_path/", 69 69 "@executable_path/lib/", "@executable_path/../lib/", 70 70 "@executable_path/../Resources/", "@rpath/", NULL}; 71 71 version = NULL;