python-zstd/python-zstd-1.4.5.1-test-external.patch
2021-06-08 00:48:34 +02:00

12 lines
260 B
Diff

--- a/setup.py
+++ b/setup.py
@@ -97,6 +97,8 @@
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: