[oe-commits] Saul Wold : libtool: add ${PN} in middle of package list to ensure . m4 get with ${PN}

git at git.openembedded.org git at git.openembedded.org
Thu Jun 21 11:39:27 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 57ad9075ea7521e8fa20d62aac31afb2e2130348
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=57ad9075ea7521e8fa20d62aac31afb2e2130348

Author: Saul Wold <sgw at linux.intel.com>
Date:   Wed Jun 13 13:56:29 2012 -0700

libtool: add ${PN} in middle of package list to ensure .m4 get with ${PN}

With the new order scheme, ${PN} needs to be in the middle
for the .m4 files to be packaged, otherwise the move the
-dev package which is wrong in this case.

Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/recipes-devtools/libtool/libtool-2.4.2.inc |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/libtool/libtool-2.4.2.inc b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
index 05a2e6d..5b9557e 100644
--- a/meta/recipes-devtools/libtool/libtool-2.4.2.inc
+++ b/meta/recipes-devtools/libtool/libtool-2.4.2.inc
@@ -37,7 +37,12 @@ EXTRA_AUTORECONF = "--exclude=libtoolize"
 DEPENDS = "libtool-native"
 
 PACKAGES =+ "libltdl libltdl-dev libltdl-dbg libltdl-staticdev"
-FILES_${PN} += "${datadir}/aclocal*"
+FILES_${PN} += "${datadir}/aclocal"
+FILES_${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
+                ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
+                ${base_libdir}/*.o ${libdir}/${BPN}/*.la ${base_libdir}/*.la"
+
+#FILES_${PN}-dev := "${@oe_filter_out('${datadir}/aclocal', '${FILES_libtool-dev}', d)}"
 FILES_libltdl = "${libdir}/libltdl${SOLIBS}"
 FILES_libltdl-dev = "${libdir}/libltdl${SOLIBSDEV} ${includedir}"
 FILES_libltdl-staticdev = "${libdir}/libltdl.a"





More information about the Openembedded-commits mailing list