mirror of
https://github.com/Z3Prover/z3
synced 2025-04-06 09:34:08 +00:00
Z3 now will also try to find libz3 in PYTHONPATH
This commit is contained in:
parent
e13f3d92af
commit
f7bcf0fd58
|
@ -1657,7 +1657,7 @@ else:
|
|||
if hasattr(builtins, "Z3_LIB_DIRS"):
|
||||
_all_dirs = builtins.Z3_LIB_DIRS
|
||||
|
||||
for v in ('Z3_LIBRARY_PATH', 'PATH'):
|
||||
for v in ('Z3_LIBRARY_PATH', 'PATH', 'PYTHONPATH'):
|
||||
if v in os.environ:
|
||||
lp = os.environ[v];
|
||||
lds = lp.split(';') if sys.platform in ('win32') else lp.split(':')
|
||||
|
|
Loading…
Reference in a new issue