Subject: [bug#65807] [PATCH 3/8] gnu: libftdi: Install libraries to /lib instead of /lib64.

From: Simon South <[email-masked]>
Date: Thu, 7 Sep 2023 11:45:45 -0400

* gnu/packages/libftdi.scm (libftdi)[arguments]<#:configure-flags>: Add
"-DLIB_SUFFIX".
---
 gnu/packages/libftdi.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/libftdi.scm b/gnu/packages/libftdi.scm
index ae7cbe62f2..f38346d8b2 100644
--- a/gnu/packages/libftdi.scm
+++ b/gnu/packages/libftdi.scm
@@ -40,7 +40,10 @@ (define-public libftdi
                 "0x0vncf6i92slgrn0h7ghkskqbglbs534220qa84d0qg114zndpc"))))
     (build-system cmake-build-system)
     (arguments
-     (list #:configure-flags #~(list "-DEXAMPLES=OFF")))
+     (list
+      #:configure-flags
+      #~(list "-DEXAMPLES=OFF"
+              "-DLIB_SUFFIX=''")))      ; place libraries in /lib, not /lib64
     (propagated-inputs
      (list libusb))                     ; required by libftdi1.pc
     (home-page "https://www.intra2net.com/en/developer/libftdi/")
-- 
2.40.1