Skip to content

Commit 4bce912

Browse files
committed
setup: consider GNU-based systems like Linux
The toolchain of GNU systems mostly is the same as the ones used on Linux, so share the build settings.
1 parent 01bd7b7 commit 4bce912

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def load_libraries():
4747

4848

4949
# check the platform
50-
if sys.platform.startswith("linux"):
50+
if sys.platform.startswith("linux") or 'gnu' in sys.platform:
5151
module = Extension(
5252
"fitz._fitz", # name of the module
5353
["fitz/fitz.i"],

0 commit comments

Comments
 (0)