diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2022-06-28 12:29:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-28 13:29:48 -0600 |
commit | 5f5d6a84dc716abd42fbfdfb9a7967ef03b48ce8 (patch) | |
tree | b8abfcf07f111f0d83e7b756b9ce8169953340c6 /var | |
parent | 170c605d6a582fae3e09c995a25043d3e4ff67de (diff) | |
download | spack-5f5d6a84dc716abd42fbfdfb9a7967ef03b48ce8.tar.gz spack-5f5d6a84dc716abd42fbfdfb9a7967ef03b48ce8.tar.bz2 spack-5f5d6a84dc716abd42fbfdfb9a7967ef03b48ce8.tar.xz spack-5f5d6a84dc716abd42fbfdfb9a7967ef03b48ce8.zip |
libxml2: add command property (#31296)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libxml2/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libxml2/package.py b/var/spack/repos/builtin/packages/libxml2/package.py index 6b95822c0f..0f938f1b42 100644 --- a/var/spack/repos/builtin/packages/libxml2/package.py +++ b/var/spack/repos/builtin/packages/libxml2/package.py @@ -55,6 +55,10 @@ class Libxml2(AutotoolsPackage): patch('nvhpc-elfgcchack.patch', when='%nvhpc') @property + def command(self): + return Executable(self.prefix.bin.join('xml2-config')) + + @property def headers(self): include_dir = self.spec.prefix.include.libxml2 hl = find_all_headers(include_dir) |