linux-pam: fixes #44637 (#44638)

* package/linux-pam: dependencies

Signed-off-by: Teague Sterling <teaguesterling@gmail.com>

* package/linux-pam: Fixes #44637

Signed-off-by: Teague Sterling <teaguesterling@gmail.com>

* Update var/spack/repos/builtin/packages/linux-pam/package.py

Co-authored-by: Alec Scott <hi@alecbcs.com>

* Update var/spack/repos/builtin/packages/linux-pam/package.py

Co-authored-by: Alec Scott <hi@alecbcs.com>

* [@spackbot] updating style on behalf of teaguesterling

---------

Signed-off-by: Teague Sterling <teaguesterling@gmail.com>
Co-authored-by: Alec Scott <hi@alecbcs.com>
This commit is contained in:
Teague Sterling 2024-06-10 22:41:11 -07:00 committed by GitHub
parent 3a83b21ce1
commit 9151fc1653
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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