atop: fix ld error (#17150)

This commit is contained in:
darmac
2020-06-18 20:42:52 +08:00
committed by GitHub
parent 1de20f00b6
commit 2a13bad8eb

View File

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