From: Christian Melki <christian.melki@t2data.com> To: ptxdist@pengutronix.de Subject: [ptxdist] [PATCH] libffi: Fix location of libraries for multilib toolchains. Date: Thu, 8 Jul 2021 15:53:03 +0200 [thread overview] Message-ID: <20210708135303.13528-1-christian.melki@t2data.com> (raw) libffi uses toolexeclib_LTLIBRARIES. Change it to lib_LTLIBRARIES. Signed-off-by: Christian Melki <christian.melki@t2data.com> --- ...ion-of-libraries-for-multilib-toolch.patch | 24 +++++++++++++++++++ patches/libffi-3.3/autogen.sh | 1 + patches/libffi-3.3/series | 3 ++- 3 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 patches/libffi-3.3/0003-libffi-Fix-location-of-libraries-for-multilib-toolch.patch create mode 120000 patches/libffi-3.3/autogen.sh 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 000000000..c47badd5f --- /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 000000000..9f8a4cb7d --- /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 d90333c03..83b0b511d 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 -- 2.32.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2021-07-08 13:54 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-07-08 13:53 Christian Melki [this message] 2021-07-20 11:48 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210708135303.13528-1-christian.melki@t2data.com \ --to=christian.melki@t2data.com \ --cc=ptxdist@pengutronix.de \ --subject='Re: [ptxdist] [PATCH] libffi: Fix location of libraries for multilib toolchains.' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox