From 5f5d6a84dc716abd42fbfdfb9a7967ef03b48ce8 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Tue, 28 Jun 2022 12:29:48 -0700 Subject: libxml2: add command property (#31296) --- var/spack/repos/builtin/packages/libxml2/package.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'var') 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 @@ -54,6 +54,10 @@ class Libxml2(AutotoolsPackage): patch('nvhpc-configure.patch', when='%nvhpc') 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 -- cgit v1.2.3-70-g09d2