Add sanity checks to the libelf build.

This commit is contained in:
Todd Gamblin 2016-03-15 17:22:48 -07:00
parent 7eca383b10
commit 68d22253ec

View File

@ -38,6 +38,9 @@ class Libelf(Package):
provides('elf') provides('elf')
sanity_check_files = ['include/libelf.h']
sanity_check_dirs = ['lib']
def install(self, spec, prefix): def install(self, spec, prefix):
configure("--prefix=" + prefix, configure("--prefix=" + prefix,
"--enable-shared", "--enable-shared",