python-zstd/python-zstd-1.5.5.1-test-external.patch
Michel Lind 934f91cc45
Update to 1.5.5.1
Signed-off-by: Michel Lind <salimma@fedoraproject.org>
2024-01-09 12:17:53 -06:00

12 lines
268 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -119,6 +119,8 @@ else:
class ZstdBuildExt( build_ext ):
def build_extensions(self):
+ if 'test' in sys.argv: return
+
c = self.compiler.compiler_type
if c in COPT:
for e in self.extensions: