Files
gentoo/sys-libs/libseccomp/files/libseccomp-2.6.0-python-shared.patch
Michal Privoznik f1d0273dc3 sys-libs/libseccomp: Rebase libseccomp-python-shared.patch
The libseccomp-python-shared.patch that makes python module
depend on libseccomp.so instead of linking it statically in
does no longer apply cleanly. Rebase it.

Signed-off-by: Michal Privoznik <michal.privoznik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27943
Signed-off-by: Sam James <sam@gentoo.org>
2022-10-30 09:40:40 +00:00

26 lines
778 B
Diff

From 594fecb16833c693ac0cff8f857aec0edd097077 Mon Sep 17 00:00:00 2001
Message-Id: <594fecb16833c693ac0cff8f857aec0edd097077.1666701554.git.mprivozn@redhat.com>
From: Michal Privoznik <mprivozn@redhat.com>
Date: Tue, 25 Oct 2022 14:39:07 +0200
Subject: [PATCH] Link python module against shared library
---
src/python/setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/python/setup.py b/src/python/setup.py
index 46f9a73..85deb03 100755
--- a/src/python/setup.py
+++ b/src/python/setup.py
@@ -40,6 +40,6 @@ setup(
ext_modules = cythonize([
Extension("seccomp", ["seccomp.pyx"],
# unable to handle libtool libraries directly
- extra_objects=["../.libs/libseccomp.a"]),
+ extra_objects=["../.libs/libseccomp.so"]),
])
)
--
2.37.4