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

* Re: [ptxdist] [APPLIED] libffi: Fix location of libraries for multilib toolchains.
  2021-07-08 13:53 [ptxdist] [PATCH] libffi: Fix location of libraries for multilib toolchains Christian Melki
@ 2021-07-20 11:48 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2021-07-20 11:48 UTC (permalink / raw)
  To: ptxdist; +Cc: Christian Melki

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


^ 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

mailarchive of the ptxdist mailing list

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://lore.ptxdist.org/ptxdist/0 ptxdist/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ptxdist ptxdist/ https://lore.ptxdist.org/ptxdist \
		ptxdist@pengutronix.de
	public-inbox-index ptxdist

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git