[packages/aws-c-io] - adjust cmake module search path to support also libx32

qboosh qboosh at pld-linux.org
Tue Nov 3 21:16:40 CET 2026


commit 7fe019bafa8f07b7660861f2b43d75794b103d28
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 3 21:17:32 2026 +0100

    - adjust cmake module search path to support also libx32

 aws-c-io.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/aws-c-io.spec b/aws-c-io.spec
index 36243e3..158dfb6 100644
--- a/aws-c-io.spec
+++ b/aws-c-io.spec
@@ -20,6 +20,7 @@ BuildRequires:	cmake >= 3.9
 BuildRequires:	gcc >= 5:3.2
 BuildRequires:	rpmbuild(macros) >= 1.605
 %{?with_s2n:BuildRequires:	s2n-tls-devel}
+BuildRequires:	sed >= 4.0
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # s2n_errno non-function symbol
@@ -73,6 +74,8 @@ Pliki nagłówkowe biblioteki AWS C IO.
 %prep
 %setup -q
 
+%{__sed} -i -e '/^ *PATH_SUFFIXES / s,lib/cmake/aws-,%{_lib}/cmake/aws-,' CMakeLists.txt
+
 %build
 install -d build
 cd build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/aws-c-io.git/commitdiff/7fe019bafa8f07b7660861f2b43d75794b103d28



More information about the pld-cvs-commit mailing list