diff options
Diffstat (limited to 'package/libcap/libcap.mk')
-rw-r--r-- | package/libcap/libcap.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk index 301d1b1fa..d4f8f1739 100644 --- a/package/libcap/libcap.mk +++ b/package/libcap/libcap.mk @@ -12,7 +12,8 @@ define LIBCAP_INSTALL_STAGING_CMDS endef define LIBCAP_INSTALL_TARGET_CMDS - install -D $(STAGING_DIR)/usr/lib/libcap.so.* $(TARGET_DIR)/usr/lib + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) LIBATTR=no DESTDIR=$(TARGET_DIR) prefix=/usr lib=lib install + rm -f $(addprefix $(TARGET_DIR)/usr/sbin/,capsh getpcaps) endef define HOST_LIBCAP_BUILD_CMDS |