[yocto] [meta-mingw][PATCH] libgcc: move libgcc*.dll from /lib to /usr/bin
Samuli Piippo
samuli.piippo at qt.io
Wed May 11 05:39:54 PDT 2016
Moved to /usr/bin so that any application there finds
it without setting additional PATHs.
Signed-off-by: Samuli Piippo <samuli.piippo at qt.io>
---
recipes-devtools/gcc/libgcc_%.bbappend | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/recipes-devtools/gcc/libgcc_%.bbappend b/recipes-devtools/gcc/libgcc_%.bbappend
index dd95317..cbddead 100644
--- a/recipes-devtools/gcc/libgcc_%.bbappend
+++ b/recipes-devtools/gcc/libgcc_%.bbappend
@@ -1,2 +1,7 @@
-FILES_${PN}_append_mingw32 = " ${base_libdir}/libgcc*.dll"
+FILES_${PN}_append_mingw32 = " ${bindir}/libgcc*.dll"
FILES_${PN}-dev_append_mingw32 = " ${base_libdir}/libgcc*.a"
+
+do_install_append_mingw32() {
+ install -d -m 0755 ${D}${bindir}
+ mv ${D}${base_libdir}/libgcc*.dll ${D}${bindir}/
+}
--
1.9.1
More information about the yocto
mailing list