seacas: fix linking on Windows (#43356)

This commit is contained in:
John W. Parent
2024-03-25 18:28:03 -04:00
committed by GitHub
parent 08a04ebd46
commit a9f3f6c007

View File

@@ -238,7 +238,7 @@ def cmake_args(self):
define(project_name_base + "_ENABLE_SEACAS", True),
]
)
if "~shared" in self.spec:
if "~shared" in self.spec and not is_windows:
options.append(self.define(f"{project_name_base}_EXTRA_LINK_FLAGS", "z;dl"))
options.append(from_variant("TPL_ENABLE_MPI", "mpi"))
if "+mpi" in spec and not is_windows: