summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-06-18 20:42:52 +0800
committerGitHub <noreply@github.com>2020-06-18 14:42:52 +0200
commit2a13bad8eb6a8045228359afda8451c7a6dd3b60 (patch)
tree4d9186af4a0d154ab0636ff179a5156b9e36ef2e /var
parent1de20f00b6d72a6c51f1f8e151081c7d34427fe3 (diff)
downloadspack-2a13bad8eb6a8045228359afda8451c7a6dd3b60.tar.gz
spack-2a13bad8eb6a8045228359afda8451c7a6dd3b60.tar.bz2
spack-2a13bad8eb6a8045228359afda8451c7a6dd3b60.tar.xz
spack-2a13bad8eb6a8045228359afda8451c7a6dd3b60.zip
atop: fix ld error (#17150)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/atop/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/atop/package.py b/var/spack/repos/builtin/packages/atop/package.py
index c06d27cbd7..3c0772fc4e 100644
--- a/var/spack/repos/builtin/packages/atop/package.py
+++ b/var/spack/repos/builtin/packages/atop/package.py
@@ -20,6 +20,9 @@ class Atop(Package):
depends_on('zlib')
depends_on('ncurses')
+ def setup_build_environment(self, env):
+ env.append_flags('LDFLAGS', '-ltinfo')
+
def install(self, spec, prefix):
make()
mkdirp(prefix.bin)