aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Gaël PORTAY <gael.portay@collabora.com>2019-01-02 15:56:28 -0500
committerGravatar Peter Korsgaard <peter@korsgaard.com>2019-03-25 11:43:08 +0100
commitb6a1400310cc49135aab3c4c72914db5e1f3fa22 (patch)
tree85b0bcebcb18432ca69f63d5b917cf678d770ecb /package
parentf405a5be13faa3cf1d46a95ef1cfb5896b92529d (diff)
downloadbuildroot-b6a1400310cc49135aab3c4c72914db5e1f3fa22.tar.gz
buildroot-b6a1400310cc49135aab3c4c72914db5e1f3fa22.tar.bz2
leveldb: install memenv static library and header
The project builds a tiny static library that consists of a single symbol which creates an in-memory LevelDB database. That library is not installed by default and may be used by other projects. This commit installs in the staging directory the libmemenv.a static library and the memenv.h header file. Signed-off-by: Gaël PORTAY <gael.portay@collabora.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (cherry picked from commit 16f847340d07dce620e4c3fc0a099aa79898d86a) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r--package/leveldb/leveldb.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/leveldb/leveldb.mk b/package/leveldb/leveldb.mk
index af9e879828..6078cd496c 100644
--- a/package/leveldb/leveldb.mk
+++ b/package/leveldb/leveldb.mk
@@ -25,6 +25,8 @@ define LEVELDB_INSTALL_STAGING_CMDS
$(TARGET_MAKE_ENV) $(MAKE1) \
INSTALL_ROOT=$(STAGING_DIR) INSTALL_PREFIX=/usr \
$(LEVELDB_MAKE_ARGS) -C $(@D) install
+ $(INSTALL) -D -m 0644 $(@D)/out-static/libmemenv.a $(STAGING_DIR)/usr/lib/libmemenv.a
+ $(INSTALL) -D -m 0644 $(@D)/helpers/memenv/memenv.h $(STAGING_DIR)/usr/include/helpers/memenv/memenv.h
endef
define LEVELDB_INSTALL_TARGET_CMDS