diff options
author | haralmha <47558670+haralmha@users.noreply.github.com> | 2022-07-18 10:25:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 10:25:08 +0200 |
commit | c589f97cf07d15b3d0ac28e16188410a56c18aaf (patch) | |
tree | b79712fbefce1d5b5a5c359ec77ff66744ad429a /var | |
parent | ad4f551c225243bfdae8b9b9d7e6bbe9dac8e3e5 (diff) | |
download | spack-c589f97cf07d15b3d0ac28e16188410a56c18aaf.tar.gz spack-c589f97cf07d15b3d0ac28e16188410a56c18aaf.tar.bz2 spack-c589f97cf07d15b3d0ac28e16188410a56c18aaf.tar.xz spack-c589f97cf07d15b3d0ac28e16188410a56c18aaf.zip |
lhapdf: add gettext libs explicitly (#31555)
Co-authored-by: Valentin Volkl <valentin.volkl@cern.ch>
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/lhapdf/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/lhapdf/package.py b/var/spack/repos/builtin/packages/lhapdf/package.py index 8672c0f389..43ae27a51b 100644 --- a/var/spack/repos/builtin/packages/lhapdf/package.py +++ b/var/spack/repos/builtin/packages/lhapdf/package.py @@ -34,9 +34,11 @@ class Lhapdf(AutotoolsPackage): extends('python', when='+python') depends_on('py-cython', type='build', when='+python') depends_on('py-setuptools', type='build', when='+python') + depends_on('gettext', type='build', when='+python') def configure_args(self): args = ['FCFLAGS=-O3', 'CFLAGS=-O3', 'CXXFLAGS=-O3', - 'LIBS=-L' + self.spec['python'].prefix.lib] + 'LIBS=-L' + self.spec['python'].prefix.lib + + ' -L' + self.spec['gettext'].prefix.lib] args.extend(self.enable_or_disable('python')) return args |