Skip to content

Commit

Permalink
Restore a block of code deleted by mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
jmao-denver committed Oct 29, 2024
1 parent 0165921 commit 31b9010
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jpyutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,10 @@ def _find_python_dll_file(fail=False):
if extra_dir and extra_dir not in search_dirs and os.path.exists(extra_dir):
search_dirs.append(extra_dir)

if platform.system() == 'Windows':
extra_search_dirs = _get_existing_subdirs(search_dirs, "DLLs")
search_dirs = extra_search_dirs + search_dirs

multi_arch_sub_dir = sysconfig.get_config_var('multiarchsubdir')
if multi_arch_sub_dir:
while multi_arch_sub_dir.startswith('/'):
Expand Down

0 comments on commit 31b9010

Please sign in to comment.