Skip to content

Commit 95b26f5

Browse files
committed
Added include dirs
1 parent 1211a4e commit 95b26f5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

setup.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161

6262
runtime_library_dirs = ["$ORIGIN/."] if not SYSTEM_LIBSSH2 else None
6363
_lib_dir = os.path.abspath("./build_dir/src") if not SYSTEM_LIBSSH2 else "/usr/local/lib"
64-
include_dirs = ["libssh2/include"] if ON_WINDOWS or not SYSTEM_LIBSSH2 else ["/usr/local/include"]
64+
include_dirs = ["libssh2/include"] if ON_WINDOWS or not SYSTEM_LIBSSH2 else [
65+
"/usr/local/include",
66+
"/opt/local/include",
67+
]
6568

6669
extensions = [
6770
Extension(sources[i].split('.')[0].replace(os.path.sep, '.'),

0 commit comments

Comments
 (0)