mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 03:12:08 +01:00
module was installed to the wrong place and avoid calling setup.py directly. Also link to libseccomp dynamically instead of statically to reduce size
13 lines
337 B
Diff
13 lines
337 B
Diff
--- a/src/python/setup.py
|
|
+++ b/src/python/setup.py
|
|
@@ -39,7 +39,7 @@ setup(
|
|
platforms = "Linux",
|
|
ext_modules = cythonize([
|
|
Extension("seccomp", ["seccomp.pyx"],
|
|
- # unable to handle libtool libraries directly
|
|
- extra_objects=["../.libs/libseccomp.a"]),
|
|
+ libraries=["seccomp"],
|
|
+ extra_link_args=["-L../.libs"]),
|
|
])
|
|
)
|