Skip to content

Commit 5c4de47

Browse files
committed
Default to configure + make on linux
1 parent 55e8b1a commit 5c4de47

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def build_zlib_ng():
108108
if sys.platform == "darwin": # Cmake does not work properly
109109
subprocess.run([os.path.join(build_dir, "configure")], **run_args)
110110
subprocess.run(["gmake", "libz-ng.a"], **run_args)
111+
elif sys.platform == "linux":
112+
subprocess.run([os.path.join(build_dir, "configure")], **run_args)
113+
subprocess.run(["make", "libz-ng.a", "-j", str(cpu_count)], **run_args)
111114
else:
112115
subprocess.run(["cmake", build_dir], **run_args)
113116
# Do not create test suite and do not perform tests to shorten build times.

0 commit comments

Comments
 (0)