From 9151fc1653317059097ae51a238cbb7c05197240 Mon Sep 17 00:00:00 2001 From: Teague Sterling Date: Mon, 10 Jun 2024 22:41:11 -0700 Subject: linux-pam: fixes #44637 (#44638) * package/linux-pam: dependencies Signed-off-by: Teague Sterling * package/linux-pam: Fixes #44637 Signed-off-by: Teague Sterling * Update var/spack/repos/builtin/packages/linux-pam/package.py Co-authored-by: Alec Scott * Update var/spack/repos/builtin/packages/linux-pam/package.py Co-authored-by: Alec Scott * [@spackbot] updating style on behalf of teaguesterling --------- Signed-off-by: Teague Sterling Co-authored-by: Alec Scott --- var/spack/repos/builtin/packages/linux-pam/package.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/var/spack/repos/builtin/packages/linux-pam/package.py b/var/spack/repos/builtin/packages/linux-pam/package.py index e864d63b6b..dd8b31771c 100644 --- a/var/spack/repos/builtin/packages/linux-pam/package.py +++ b/var/spack/repos/builtin/packages/linux-pam/package.py @@ -27,6 +27,11 @@ class LinuxPam(AutotoolsPackage): depends_on("automake", type="build") depends_on("libtool", type="build") + def flag_handler(self, name, flags): + if name == "ldflags": + flags.append("-lintl") # spack/spack#44637 + return (flags, None, None) + def configure_args(self): config_args = ["--includedir=" + self.prefix.include.security] return config_args -- cgit v1.2.3-70-g09d2