leveldb: Fix header installation (#9069)

leveldb headers are typically included via <leveldb/c.h>. The migration
to install_tree in 73c978ddd9 caused the
headers to end up in prefix.include, which breaks existing applications.
This commit is contained in:
Michael Kuhn 2018-08-22 16:46:11 +02:00 committed by Adam J. Stewart
parent 8b092c242f
commit 0b2a4aea6d

View File

@ -46,7 +46,7 @@ def install(self, spec, prefix):
for library in libraries:
install(library, prefix.lib)
install_tree('include/leveldb', prefix.include)
install_tree('include', prefix.include)
with open(join_path(prefix.lib, 'pkgconfig', 'leveldb.pc'), 'w') as f:
f.write('prefix={0}\n'.format(prefix))