@@ -122,6 +122,34 @@ FILES:gettext-runtime-doc = "${mandir}/man1/gettext.* \
${infodir}/autosprintf.info \
"
+
+# Hackish fix for:
+#
+# libtool: Version mismatch error. This is libtool 2.5.4, but the
+# libtool: definition of this LT_INIT comes from libtool 2.5.2.
+# libtool: You should recreate aclocal.m4 with macros from libtool 2.5.4
+# libtool: and run autoconf again.
+do_compile:prepend:class-target() {
+ cd ${S}
+}
+
+# Fixes
+# NOTE: make -j $(nproc)
+# make: *** No targets specified and no makefile found. Stop.
+# ERROR: oe_runmake failed
+do_configure:prepend:class-target() {
+ cd ${S}
+ autoreconf --force --install
+}
+
+# Fixes
+# NOTE: make -j $(nproc) DESTDIR=$D install
+# make: *** No rule to make target 'install'. Stop.
+# ERROR: oe_runmake failed
+do_install:prepend:class-target() {
+ cd ${S}
+}
+
do_install:append() {
rm -f ${D}${libdir}/preloadable_libintl.so
}
Commit adds in hackish fix for libtool: Version mismatch. Along with subsequent errors that occur after fix. Signed-off-by: Vincent Davis Jr <vince@underview.tech> --- meta/recipes-core/gettext/gettext_0.22.5.bb | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+)