bitbake.conf, lib_package.bbclass: fix packaging of ${base_libdir}/*.so
authorJeremy Lainé <jeremy.laine@m4x.org>
Mon, 20 Apr 2009 09:42:08 +0000 (11:42 +0200)
committerJeremy Lainé <jeremy.laine@m4x.org>
Mon, 20 Apr 2009 09:42:08 +0000 (11:42 +0200)
We need to include ${base_libdir}/*${SOLIBSDEV} in FILES_${PN]}  because
the shared libraries in ${base_libdir} do not follow the usual *.so.* naming
convention, for instance libproc-3.2.7.so.

classes/lib_package.bbclass
conf/bitbake.conf

index 03ba9d0..f866d10 100644 (file)
@@ -1,8 +1,12 @@
 PACKAGES += "${PN}-bin"
 
+# NB: ${base_libdir}/*${SOLIBSDEV} is included here because the shared libraries
+# in ${base_libdir} do not follow the usual *.so.* naming convention, for instance
+# libproc-3.2.7.so
 FILES_${PN} = "${libexecdir} ${libdir}/lib*${SOLIBS} \
            ${sysconfdir} ${sharedstatedir} ${localstatedir} \
-           ${base_libdir}/*${SOLIBS} ${datadir}/${PN} ${libdir}/${PN}"
+           ${base_libdir}/*${SOLIBS} ${base_libdir}/*{SOLIBSDEV} \
+           ${datadir}/${PN} ${libdir}/${PN}"
 FILES_${PN}-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \
                ${libdir}/*.a ${libdir}/pkgconfig /lib/*.a /lib/*.o \
                ${datadir}/aclocal ${bindir}/*-config"
index 30ee0ae..41e9c05 100644 (file)
@@ -211,9 +211,14 @@ PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-locale"
 PACKAGES_DYNAMIC = "${PN}-locale-*"
 FILES = ""
 
+# NB: ${base_libdir}/*${SOLIBSDEV} is included here because the shared libraries
+# in ${base_libdir} do not follow the usual *.so.* naming convention, for instance
+# libproc-3.2.7.so
 FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
             ${sysconfdir} ${sharedstatedir} ${localstatedir} \
-            ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*${SOLIBS} ${datadir}/${PN} ${libdir}/${PN}/* \
+            ${base_bindir}/* ${base_sbindir}/* \
+            ${base_libdir}/*${SOLIBS} ${base_libdir}/*{SOLIBSDEV} \
+            ${datadir}/${PN} ${libdir}/${PN}/* \
             ${datadir}/pixmaps ${datadir}/applications \
             ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
             ${libdir}/bonobo/servers"