postgresql: fix thinko with thread-safety option (#44381)

This commit is contained in:
Chris Green
2024-05-29 13:30:54 -05:00
committed by GitHub
parent 5ff8908ff3
commit 230687a501

View File

@@ -73,8 +73,7 @@ def configure_args(self):
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")