summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <suraia@ikkoku.de>2018-08-22 16:46:11 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2018-08-22 09:46:11 -0500
commit0b2a4aea6db46fdccfc5c5879991d8b768ef9c57 (patch)
tree4f4fa4eb75f35b6915adb5de2b7ba9cdb91f9fb7
parent8b092c242f5e99263ce6a37f0460247e9210b5b9 (diff)
downloadspack-0b2a4aea6db46fdccfc5c5879991d8b768ef9c57.tar.gz
spack-0b2a4aea6db46fdccfc5c5879991d8b768ef9c57.tar.bz2
spack-0b2a4aea6db46fdccfc5c5879991d8b768ef9c57.tar.xz
spack-0b2a4aea6db46fdccfc5c5879991d8b768ef9c57.zip
leveldb: Fix header installation (#9069)
leveldb headers are typically included via <leveldb/c.h>. The migration to install_tree in 73c978ddd99973e29f2ba42078b10455c1de5ca8 caused the headers to end up in prefix.include, which breaks existing applications.
-rw-r--r--var/spack/repos/builtin/packages/leveldb/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/leveldb/package.py b/var/spack/repos/builtin/packages/leveldb/package.py
index 75b7b9411e..2f649f4969 100644
--- a/var/spack/repos/builtin/packages/leveldb/package.py
+++ b/var/spack/repos/builtin/packages/leveldb/package.py
@@ -46,7 +46,7 @@ class Leveldb(MakefilePackage):
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))