diff options
author | Chris Green <greenc@fnal.gov> | 2024-05-29 13:30:54 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-29 11:30:54 -0700 |
commit | 230687a5017524dd79187377c25c11a3991c1793 (patch) | |
tree | 09b64e2552465a726552d5f2dee54790cb417905 | |
parent | 5ff8908ff3e26c16f6d3314369a6a0d06fb2cc3c (diff) | |
download | spack-230687a5017524dd79187377c25c11a3991c1793.tar.gz spack-230687a5017524dd79187377c25c11a3991c1793.tar.bz2 spack-230687a5017524dd79187377c25c11a3991c1793.tar.xz spack-230687a5017524dd79187377c25c11a3991c1793.zip |
postgresql: fix thinko with `thread-safety` option (#44381)
-rw-r--r-- | var/spack/repos/builtin/packages/postgresql/package.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/postgresql/package.py b/var/spack/repos/builtin/packages/postgresql/package.py index 9a979f6216..7bdbd86ac2 100644 --- a/var/spack/repos/builtin/packages/postgresql/package.py +++ b/var/spack/repos/builtin/packages/postgresql/package.py @@ -73,8 +73,7 @@ class Postgresql(AutotoolsPackage): spec = self.spec args = ["--with-openssl"] - if spec.satisfies("+threadsafe"): - args.append(self.enable_or_disable("thread-safety")) + args.extend(self.enable_or_disable("thread-safety", variant="threadsafe")) if spec.variants["lineedit"].value == "libedit": args.append("--with-libedit-preferred") |