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  
    6565       @executable_path - location of running binary (ex. /Applications/Some.app/Contents/MacOS)
    6666       @rpath           - search rpaths of running binary (man install_name_path)
    6767    */
    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/",
    6969                                         "@executable_path/lib/", "@executable_path/../lib/",
    7070                                         "@executable_path/../Resources/", "@rpath/", NULL};
    7171    version = NULL;