libxml2: add command property (#31296)

This commit is contained in:
Adam J. Stewart 2022-06-28 12:29:48 -07:00 committed by GitHub
parent 170c605d6a
commit 5f5d6a84dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,6 +54,10 @@ def url_for_version(self, version):
patch('nvhpc-configure.patch', when='%nvhpc') patch('nvhpc-configure.patch', when='%nvhpc')
patch('nvhpc-elfgcchack.patch', when='%nvhpc') patch('nvhpc-elfgcchack.patch', when='%nvhpc')
@property
def command(self):
return Executable(self.prefix.bin.join('xml2-config'))
@property @property
def headers(self): def headers(self):
include_dir = self.spec.prefix.include.libxml2 include_dir = self.spec.prefix.include.libxml2