Shared Libraries for internal use by packages don't necessarily have to be called 'libsomething.so.N' -- when searching for shlibs on RPATH or RUNPATH, accept anything ending in .so or .so.N
modified libpkg/elfhints.c
@@ -59,7 +59,8 @@ struct shlib_list {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -200,10 +201,19 @@ add_dir(const char *hintsfile, const char *name, int trusted)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -219,10 +229,14 @@ scan_dirs_for_shlibs(struct shlib_list **shlib_list, int numdirs,
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -294,7 +308,7 @@ int shlib_list_from_rpath(const char *rpath_str, const char *dirpath)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -306,7 +320,7 @@ shlib_list_from_elf_hints(const char *hintsfile)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified libpkg/pkg_elf.c
@@ -192,7 +192,10 @@ warn_about_name_format(struct pkg *pkg, const char *fpath, const char *shlib)
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|