acfl: update the headers property (#44653)

Consistently with ArmPL@24:, the include directory for acfl@24:
has changed to include. The change wants to update to this change
and distinguish the include path for releases previous to 24.04
and the future ones
This commit is contained in:
Paolo 2024-07-11 10:20:34 +01:00 committed by GitHub
parent 2153f6056d
commit 39bbedf517
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -378,7 +378,10 @@ def libs(self):
def headers(self):
armpl_dir = get_armpl_prefix(self.spec)
suffix = "include" + self.lib_suffix
if self.spec.satisfies("@24:"):
suffix = "include"
else:
suffix = "include" + self.lib_suffix
incdir = join_path(armpl_dir, suffix)