Thanks, applied as b589f4670d713f9a69d2f82a6ec2cd9e7d4e8e17.
Michael
[sent from post-receive hook]
On Tue, 20 Jul 2021 13:48:33 +0200, Christian Melki <christian.melki@t2data.com> wrote:
> libffi uses toolexeclib_LTLIBRARIES.
> Change it to lib_LTLIBRARIES.
>
> Signed-off-by: Christian Melki <christian.melki@t2data.com>
> Message-Id: <20210708135303.13528-1-christian.melki@t2data.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/patches/libffi-3.3/0003-libffi-Fix-location-of-libraries-for-multilib-toolch.patch b/patches/libffi-3.3/0003-libffi-Fix-location-of-libraries-for-multilib-toolch.patch
> new file mode 100644
> index 000000000000..c47badd5f69c
> --- /dev/null
> +++ b/patches/libffi-3.3/0003-libffi-Fix-location-of-libraries-for-multilib-toolch.patch
> @@ -0,0 +1,24 @@
> +From: Christian Melki <christian.melki@t2data.com>
> +Date: Thu, 8 Jul 2021 15:41:52 +0200
> +Subject: [PATCH] libffi: Fix location of libraries for multilib toolchains.
> +
> +Buildroot came to the same solution.
> +
> +Signed-off-by: Christian Melki <christian.melki@t2data.com>
> +---
> + Makefile.am | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/Makefile.am b/Makefile.am
> +index 4fd6193d9b21..e392009e1354 100644
> +--- a/Makefile.am
> ++++ b/Makefile.am
> +@@ -34,7 +34,7 @@ MAKEOVERRIDES=
> + pkgconfigdir = $(libdir)/pkgconfig
> + pkgconfig_DATA = libffi.pc
> +
> +-toolexeclib_LTLIBRARIES = libffi.la
> ++lib_LTLIBRARIES = libffi.la
> + noinst_LTLIBRARIES = libffi_convenience.la
> +
> + libffi_la_SOURCES = src/prep_cif.c src/types.c \
> diff --git a/patches/libffi-3.3/autogen.sh b/patches/libffi-3.3/autogen.sh
> new file mode 120000
> index 000000000000..9f8a4cb7ddcb
> --- /dev/null
> +++ b/patches/libffi-3.3/autogen.sh
> @@ -0,0 +1 @@
> +../autogen.sh
> \ No newline at end of file
> diff --git a/patches/libffi-3.3/series b/patches/libffi-3.3/series
> index d90333c03951..83b0b511da13 100644
> --- a/patches/libffi-3.3/series
> +++ b/patches/libffi-3.3/series
> @@ -2,4 +2,5 @@
> #tag:base --start-number 1
> 0001-Fixed-missed-ifndef-for-__mips_soft_float-442.patch
> 0002-powerpc-fix-build-failure-on-power7-and-older-532.patch
> -# 8d546ed0993c3fef550e4e9fba36368b - git-ptx-patches magic
> +0003-libffi-Fix-location-of-libraries-for-multilib-toolch.patch
> +# 9afbef7cf862f28908b007f73dce1db0 - git-ptx-patches magic
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de