summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJohn W. Parent <45471568+johnwparent@users.noreply.github.com>2024-03-25 18:28:03 -0400
committerGitHub <noreply@github.com>2024-03-25 16:28:03 -0600
commita9f3f6c007fd626a926334ef246a75c0fc396151 (patch)
tree9164507d929d8e90ff928090190942aba3c72933 /var
parent08a04ebd469ad7be7dd1f58dc9de7d19944e2254 (diff)
downloadspack-a9f3f6c007fd626a926334ef246a75c0fc396151.tar.gz
spack-a9f3f6c007fd626a926334ef246a75c0fc396151.tar.bz2
spack-a9f3f6c007fd626a926334ef246a75c0fc396151.tar.xz
spack-a9f3f6c007fd626a926334ef246a75c0fc396151.zip
seacas: fix linking on Windows (#43356)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/seacas/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/seacas/package.py b/var/spack/repos/builtin/packages/seacas/package.py
index 30aab746a3..429e31dbe5 100644
--- a/var/spack/repos/builtin/packages/seacas/package.py
+++ b/var/spack/repos/builtin/packages/seacas/package.py
@@ -238,7 +238,7 @@ class Seacas(CMakePackage):
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: