diff options
-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) |