[OE-core] [PATCH 4/30] bitbake.conf: Add '${libdir}/*.def' to FILES_${PN}-dev defaults

Nathan Rossi nathan at nathanrossi.com
Mon Jan 16 14:15:10 UTC 2017


The *.def files that are populated in ${libdir} define the list of
exported functions for Windows DLLs. Whilst *.def files exist for other
formats they are not shipped in the ${libdir}.

Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
---
 meta/conf/bitbake.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 40efb959e6..5dbcf5c441 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -301,7 +301,8 @@ FILES_SOLIBSDEV ?= "${base_libdir}/lib*${SOLIBSDEV} ${libdir}/lib*${SOLIBSDEV}"
 FILES_${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
                 ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
                 ${datadir}/aclocal ${base_libdir}/*.o \
-                ${libdir}/${BPN}/*.la ${base_libdir}/*.la"
+                ${libdir}/${BPN}/*.la ${base_libdir}/*.la \
+                ${libdir}/*.def"
 SECTION_${PN}-dev = "devel"
 ALLOW_EMPTY_${PN}-dev = "1"
 RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})"
-- 
2.11.0




More information about the Openembedded-core mailing list