diff options
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 84eafbd529..09cd376f4a 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1878,7 +1878,7 @@ python package_do_shlibs() { | |||
1878 | sonames.add(prov) | 1878 | sonames.add(prov) |
1879 | if libdir_re.match(os.path.dirname(file)): | 1879 | if libdir_re.match(os.path.dirname(file)): |
1880 | needs_ldconfig = True | 1880 | needs_ldconfig = True |
1881 | if snap_symlinks and (os.path.basename(file) != this_soname): | 1881 | if needs_ldconfig and snap_symlinks and (os.path.basename(file) != this_soname): |
1882 | renames.append((file, os.path.join(os.path.dirname(file), this_soname))) | 1882 | renames.append((file, os.path.join(os.path.dirname(file), this_soname))) |
1883 | return (needs_ldconfig, needed, sonames, renames) | 1883 | return (needs_ldconfig, needed, sonames, renames) |
1884 | 1884 | ||