disapproval of revision '0d2e69a0248ac99b9f990dfb473d63c9653f0f7c'
authorMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 29 Mar 2007 13:16:55 +0000 (13:16 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Thu, 29 Mar 2007 13:16:55 +0000 (13:16 +0000)
classes/package.bbclass

index 19c206a..07fdb7f 100644 (file)
@@ -573,7 +573,6 @@ python package_do_shlibs() {
        bb.mkdirhier(shlibs_dir)
 
        needed = {}
-       private_libs = bb.data.getVar('PRIVATE_LIBS', d, 1)
        for pkg in packages.split():
                needs_ldconfig = False
                bb.debug(2, "calculating shlib provides for %s" % pkg)
@@ -597,9 +596,7 @@ python package_do_shlibs() {
                                                        needed[pkg].append(m.group(1))
                                                m = re.match("\s+SONAME\s+([^\s]*)", l)
                                                if m and not m.group(1) in sonames:
-                                                       # if library is private (only used by package) then do not build shlib for it
-                                                       if private_libs == '' or -1 == private_libs.find(m.group(1)):
-                                                               sonames.append(m.group(1))
+                                                       sonames.append(m.group(1))
                                                if m and libdir_re.match(root):
                                                        needs_ldconfig = True
                shlibs_file = os.path.join(shlibs_dir, pkg + ".list")