Skip to content

Commit

Permalink
Trying another way to get binary files
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlee94 committed Mar 18, 2024
1 parent 55258cf commit cd47ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion idaes/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _ensure_external_functions_libs_in_env(
libraries_str = os.environ.get(var_name, "")
libraries = [lib for lib in libraries_str.split(sep) if lib.strip()]
for func_name in ext_funcs:
lib: Optional[str] = find_library(func_name)
lib: Optional[str] = find_library(os.path.join(bin_directory, func_name))
if lib is not None and lib not in libraries:
libraries.append(lib)
os.environ[var_name] = sep.join(libraries)
Expand Down

0 comments on commit cd47ae2

Please sign in to comment.