aboutsummaryrefslogtreecommitdiff
path: root/package/libcap/libcap.mk
diff options
context:
space:
mode:
authorGravatar Arnout Vandecappelle <arnout@mind.be>2017-07-05 13:14:41 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 16:06:40 +0200
commit4013858646c41f5f4074d81aa67386e28dbc5d7a (patch)
tree586b52b002ab644ae3f644923b72dd2dd6bc02c2 /package/libcap/libcap.mk
parent40c560469f525bad7899694b729f60807a8165d4 (diff)
downloadbuildroot-4013858646c41f5f4074d81aa67386e28dbc5d7a.tar.gz
buildroot-4013858646c41f5f4074d81aa67386e28dbc5d7a.tar.bz2
libcap: use $(HOST_DIR) as prefix instead of DESTDIR
... and also remove the /usr prefix. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libcap/libcap.mk')
-rw-r--r--package/libcap/libcap.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk
index 35a6a97134..48c2cb3456 100644
--- a/package/libcap/libcap.mk
+++ b/package/libcap/libcap.mk
@@ -63,8 +63,8 @@ define HOST_LIBCAP_BUILD_CMDS
endef
define HOST_LIBCAP_INSTALL_CMDS
- $(HOST_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) \
- RAISE_SETFCAP=no prefix=/usr lib=lib install
+ $(HOST_MAKE_ENV) $(MAKE) -C $(@D) prefix=$(HOST_DIR) \
+ RAISE_SETFCAP=no lib=lib install
endef
$(eval $(generic-package))