From e295f7d88f4a8e71514346f7fb1d67fe78f71572 Mon Sep 17 00:00:00 2001
From: Thomas Gambier <thomas.gambier@nexedi.com>
Date: Wed, 3 Apr 2024 11:20:28 -0400
Subject: [PATCH] component/libffi: add support for riscv architecture

by default on riscv architecture, the libffi.so will be placed in
lib/lp64d but everywhere else in buildout (and especially for the
compilation of python3) we expect the lib to be in lib/ directory.
---
 component/libffi/buildout.cfg | 1 +
 1 file changed, 1 insertion(+)

diff --git a/component/libffi/buildout.cfg b/component/libffi/buildout.cfg
index 91e329efd..3e9eaf2b1 100644
--- a/component/libffi/buildout.cfg
+++ b/component/libffi/buildout.cfg
@@ -16,6 +16,7 @@ patch-options = -p1
 patches =
   ${:_profile_base_location_}/libdir.patch#f7274250c8ca43b10e7fc968f730b833
 configure-options =
+  --disable-multi-os-directory
   --disable-static
   --enable-portable-binary
   --with-gcc-arch=generic
-- 
2.30.9