mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libffi: Fix location of libraries for multilib toolchains.
@ 2021-07-08 13:53 Christian Melki
  2021-07-20 11:48 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Melki @ 2021-07-08 13:53 UTC (permalink / raw)
  To: ptxdist

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-20 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-08 13:53 [ptxdist] [PATCH] libffi: Fix location of libraries for multilib toolchains Christian Melki
2021-07-20 11:48 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox