util-linux: add missing dependency on libcap-ng
authorRomain Naour <romain.naour@openwide.fr>
Sun, 6 Apr 2014 12:37:34 +0000 (14:37 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 8 Apr 2014 12:07:57 +0000 (14:07 +0200)
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/util-linux/util-linux.mk

index d6614471872055b22a4bc05a39de63dbebe6a0c1..f0ae3aea8d977fe540dbfd72f2a28633f473f642 100644 (file)
@@ -40,6 +40,10 @@ UTIL_LINUX_DEPENDENCIES += gettext
 UTIL_LINUX_MAKE_OPT += LIBS=-lintl
 endif
 
+ifeq ($(BR2_PACKAGE_LIBCAP_NG),y)
+UTIL_LINUX_DEPENDENCIES += libcap-ng
+endif
+
 # Used by cramfs utils
 UTIL_LINUX_DEPENDENCIES += $(if $(BR2_PACKAGE_ZLIB),zlib)