summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-07-06 04:28:29 +0800
committerGitHub <noreply@github.com>2020-07-05 15:28:29 -0500
commit58cfe4e078227da6b442b71b2024934fdf0c428c (patch)
tree4fa38da8b17d64215a774631b8cd4149821c644f /var
parent00f7577273f220ad21acfd97b787e73274ef8f8c (diff)
downloadspack-58cfe4e078227da6b442b71b2024934fdf0c428c.tar.gz
spack-58cfe4e078227da6b442b71b2024934fdf0c428c.tar.bz2
spack-58cfe4e078227da6b442b71b2024934fdf0c428c.tar.xz
spack-58cfe4e078227da6b442b71b2024934fdf0c428c.zip
acl: fix depends error (#17341)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/acl/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/acl/package.py b/var/spack/repos/builtin/packages/acl/package.py
index ea9bf4172f..17f916d297 100644
--- a/var/spack/repos/builtin/packages/acl/package.py
+++ b/var/spack/repos/builtin/packages/acl/package.py
@@ -24,6 +24,10 @@ class Acl(AutotoolsPackage):
depends_on('automake', type='build')
depends_on('libtool', type='build')
depends_on('attr')
+ depends_on('gettext')
+
+ def setup_build_environment(self, env):
+ env.append_flags('LDFLAGS', '-lintl')
def autoreconf(self, spec, prefix):
bash = which('bash')