libffi uses toolexeclib_LTLIBRARIES. Change it to lib_LTLIBRARIES. Signed-off-by: Christian Melki <[email protected]> --- ...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 <[email protected]> +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 <[email protected]> +--- + 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 [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
