diff options
author | Chris Green <greenc@fnal.gov> | 2023-05-16 13:32:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 13:32:26 -0500 |
commit | 9ee2d79de172de14477a78e5d407548a63eea33a (patch) | |
tree | ccf1489e59129635461480fcfc994ba74165f7e9 /var | |
parent | 79e4a13eee89661f9162e789e9ce47b5e08d5330 (diff) | |
download | spack-9ee2d79de172de14477a78e5d407548a63eea33a.tar.gz spack-9ee2d79de172de14477a78e5d407548a63eea33a.tar.bz2 spack-9ee2d79de172de14477a78e5d407548a63eea33a.tar.xz spack-9ee2d79de172de14477a78e5d407548a63eea33a.zip |
libxpm package: fix RHEL8 build with libintl (#37713)
Set LDFLAGS rather than LDLIBS
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libxpm/package.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/libxpm/package.py b/var/spack/repos/builtin/packages/libxpm/package.py index e3f4f2ee35..bbdad61aa2 100644 --- a/var/spack/repos/builtin/packages/libxpm/package.py +++ b/var/spack/repos/builtin/packages/libxpm/package.py @@ -27,6 +27,6 @@ class Libxpm(AutotoolsPackage, XorgPackage): depends_on("util-macros", type="build") def flag_handler(self, name, flags): - if name == "ldlibs" and "intl" in self.spec["gettext"].libs.names: + if name == "ldflags" and "intl" in self.spec["gettext"].libs.names: flags.append("-lintl") return env_flags(name, flags) |