[packages/python3-cryptography] - x32 build fix
qboosh
qboosh at pld-linux.org
Sun Aug 23 22:14:42 CEST 2026
commit 18f589dc56a22b0f69771e107d3d59bb0205754f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Aug 23 22:14:39 2026 +0200
- x32 build fix
python3-cryptography.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/python3-cryptography.spec b/python3-cryptography.spec
index 15da5ed..6b837ca 100644
--- a/python3-cryptography.spec
+++ b/python3-cryptography.spec
@@ -116,7 +116,7 @@ export CARGO_TERM_VERBOSE=true
%ifarch x32
export CARGO_BUILD_TARGET=x86_64-unknown-linux-gnux32
export PKG_CONFIG_ALLOW_CROSS=1
-export PYO3_CROSS_LIB_DIR=%{_libdir}
+export PYO3_CROSS_LIB_DIR=%{py3_libdir}
%endif
export CFLAGS="%{rpmcflags}"
@@ -150,6 +150,7 @@ export CARGO_TERM_VERBOSE=true
%ifarch x32
export CARGO_BUILD_TARGET=x86_64-unknown-linux-gnux32
export PKG_CONFIG_ALLOW_CROSS=1
+export PYO3_CROSS_LIB_DIR=%{py3_libdir}
%endif
%py3_install_pyproject
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-cryptography.git/commitdiff/18f589dc56a22b0f69771e107d3d59bb0205754f
More information about the pld-cvs-commit
mailing list