Commit adds in hackish fix for
libtool: Version mismatch.

Along with subsequent errors that occur after fix.

Signed-off-by: Vincent Davis Jr <vi...@underview.tech>
---
 meta/recipes-core/gettext/gettext_0.22.5.bb | 28 +++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/meta/recipes-core/gettext/gettext_0.22.5.bb 
b/meta/recipes-core/gettext/gettext_0.22.5.bb
index 0bf2a56e5f..a420d3df17 100644
--- a/meta/recipes-core/gettext/gettext_0.22.5.bb
+++ b/meta/recipes-core/gettext/gettext_0.22.5.bb
@@ -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_configure:prepend:class-target() {
+    cd ${S}
+    autoreconf --force --install
+}
+
+# Fixes
+# NOTE: make -j $(nproc)
+# make: *** No targets specified and no makefile found.  Stop.
+# ERROR: oe_runmake failed
+do_compile:prepend:class-target() {
+    cd ${S}
+}
+
+# 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
 }
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209134): 
https://lists.openembedded.org/g/openembedded-core/message/209134
Mute This Topic: https://lists.openembedded.org/mt/110338501/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to