From cd47ae2913cc9b572bbc6f246703c66169b96ac8 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Mon, 18 Mar 2024 12:15:22 -0400 Subject: [PATCH] Trying another way to get binary files --- idaes/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/idaes/__init__.py b/idaes/__init__.py index 268828d0e8..790ce7c466 100644 --- a/idaes/__init__.py +++ b/idaes/__init__.py @@ -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)