Build Python 3.7 with external libffi. (#9245)

This commit is contained in:
Sergey Kosukhin
2018-09-15 02:07:13 +02:00
committed by Todd Gamblin
parent 0b800720b1
commit a9c434d7d7
4 changed files with 45 additions and 6 deletions

View File

@@ -37,3 +37,8 @@ class Libffi(AutotoolsPackage):
# version('3.1', 'f5898b29bbfd70502831a212d9249d10',url =
# "ftp://sourceware.org/pub/libffi/libffi-3.1.tar.gz") # Has a bug
# $(lib64) instead of ${lib64} in libffi.pc
@property
def headers(self):
# The headers are probably in self.prefix.lib but we search everywhere
return find_headers('ffi', self.prefix, recursive=True)