Skip to contentSkip to conversation

Makefile.autotools.in: add libtool v2.4 support

PATCH New Peter Korsgaard 4 participants 4 messages Mar 28, 2011 – Apr 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile.autotools.in: add libtool v2.4 support

commit: http://git.buildroot.net/buildroot/commit/?id=f055b266f11f8b72c60cf3b46bf081aaf97f5f6d
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Packages (like avahi) are now using libtool 2.4, so extend the libtool handling to support those as well.

---
 package/Makefile.autotools.in        |    2 +
 package/buildroot-libtool-v2.4.patch |   47 ++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 0 deletions(-)
 create mode 100644 package/buildroot-libtool-v2.4.patch
package/Makefile.autotools.in +2 -0
index d445348..88a06ea 100644
@@ -145,6 +145,8 @@ define LIBTOOL_PATCH_HOOK
 				toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v1.5.patch; \
 			elif test $$$${ltmain_version} = "2.2"; then\
 				toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v2.2.patch; \
+			elif test $$$${ltmain_version} = "2.4"; then\
+				toolchain/patch-kernel.sh $$$${i%/*} package buildroot-libtool-v2.4.patch; \
 			fi \
 		done \
 	fi
package/buildroot-libtool-v2.4.patch new file +47 -0

47 lines not on this page · raw message

Signature · 1 line
1.7.3.4
#1 lore raw

PATCH 1/1 Makefile.autotools.in: add libtool v2.4 support

Quoted 2 lines · On Mon, 28 Mar 2011 21:45:06 +0200 Peter Korsgaard <[email protected]> wrote:

Packages (like avahi) are now using libtool 2.4, so extend the libtool handling to support those as well.

I thought libtool v2.4 was supposed to support --sysroot and therefore to not need any of our dirty cross-compilation tricks. Am I wrong ?

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH 1/1 Makefile.autotools.in: add libtool v2.4 support

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Thomas> On Mon, 28 Mar 2011 21:45:06 +0200

Quoted 2 lines · Thomas> Peter Korsgaard <[email protected]> wrote:
Quoted 2 lines

Packages (like avahi) are now using libtool 2.4, so extend the libtool handling to support those as well.

Thomas> I thought libtool v2.4 was supposed to support --sysroot and therefore Thomas> to not need any of our dirty cross-compilation tricks. Am I wrong ?

Well, avahi failed for me atleast with dependent libs (it tried to relink during installation against native libs) - With the patch it works here, but I must admit I didn't look into the details.

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 Makefile.autotools.in: add libtool v2.4 support

In reply to Peter Korsgaard

Peter Korsgaard <[email protected]> wrote in news:20110328194623.C0431819DC at busybox.osuosl.org:

Quoted 8 lines

commit:
http://git.buildroot.net/buildroot/commit/?id=f055b266f11f8b72c60cf3b46bf
081aaf97f5f6d branch:
http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Packages (like avahi) are now using libtool 2.4, so extend the libtool handling to support those as well.

Hi,

just a small note: ltmain.sh supplied by freetype 2.5.3 is incompatible with support/libtool/buildroot-libtool-v2.4.patch

Regards, Bernd