Skip to content

Commit 2da8d1b

Browse files
committed
Add usr prefix for system libraries
1 parent 1b0f80a commit 2da8d1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def build_isa_l():
8181
def _add_extension_options(ext: Extension):
8282
# Check current environment (conda or venv first) or base system install
8383
# (in case of venv) for isa-l include directories. Link dynamically.
84-
possible_prefixes = [sys.exec_prefix, sys.base_exec_prefix]
84+
possible_prefixes = [sys.exec_prefix, sys.base_exec_prefix, "/usr"]
8585
for prefix in possible_prefixes:
8686
if os.path.exists(os.path.join(prefix, "include", "isa-l")):
8787
# Readthedocs uses a conda environment but does not activate it.

0 commit comments

Comments
 (0)