[packages/aws-c-http] - adjust cmake module search path to support also libx32
qboosh
qboosh at pld-linux.org
Wed Nov 4 19:05:33 CET 2026
commit 9dd9720a136931b4ea9352dcf6a90923fe6072d1
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 4 19:06:19 2026 +0100
- adjust cmake module search path to support also libx32
aws-c-http.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/aws-c-http.spec b/aws-c-http.spec
index e740cb3..e0da25d 100644
--- a/aws-c-http.spec
+++ b/aws-c-http.spec
@@ -19,6 +19,7 @@ BuildRequires: aws-c-io-devel >= 1.0
BuildRequires: cmake >= 3.9
BuildRequires: gcc >= 5:3.2
BuildRequires: rpmbuild(macros) >= 1.605
+BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -45,6 +46,8 @@ Pliki nagłówkowe biblioteki AWS C HTTP.
%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-http.git/commitdiff/9dd9720a136931b4ea9352dcf6a90923fe6072d1
More information about the pld-cvs-commit
mailing list