Install headers and lib files to destination for legacy apps (#8960)

* Install sam.h and libbam.a for legacy apps.

* Install bam.h.

* Remove which(mkdir).
This commit is contained in:
健美猞猁 2018-08-13 00:58:25 +08:00 committed by Adam J. Stewart
parent 0b9434b4ba
commit c68fa10e6b

View File

@ -59,3 +59,9 @@ def install(self, spec, prefix):
else:
make("prefix=%s" % prefix)
make("prefix=%s" % prefix, "install")
# Install dev headers and libs for legacy apps depending on them
mkdir(prefix.include)
mkdir(prefix.lib)
install('sam.h', prefix.include)
install('bam.h', prefix.include)
install('libbam.a', prefix.lib)