policycoreutils: restorecon libglib2 dependency
authorMatt Weber <matthew.weber@rockwellcollins.com>
Tue, 13 Dec 2016 04:21:08 +0000 (22:21 -0600)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 13 Dec 2016 09:55:55 +0000 (10:55 +0100)
Updated to match Config.in select of libglib2
package as dependency if restorecon is enabled.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/policycoreutils/policycoreutils.mk

index c9f9ebc89c7f256be210020dfe5d18329ae74013..86639ccc6d67ddd8888dec97d1976434b8a56b39 100644 (file)
@@ -48,6 +48,7 @@ POLICYCOREUTILS_MAKE_DIRS = \
 
 ifeq ($(BR2_PACKAGE_POLICYCOREUTILS_RESTORECOND),y)
 POLICYCOREUTILS_MAKE_DIRS += restorecond
+POLICYCOREUTILS_DEPENDENCIES += libglib2
 endif
 # We need to pass DESTDIR at build time because it's used by
 # policycoreutils build system to find headers and libraries.