[Buildroot] [PATCH 2/2] package/lldpd: explicit optional dependency
Yann E. MORIN
yann.morin.1998 at free.fr
Sun Aug 14 10:46:44 UTC 2016
check is an optional depenency of lldpd, so we must depend on it when it
is enabled.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Cc: Vivien Didelot <vivien.didelot at savoirfairelinux.com>
---
package/lldpd/lldpd.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/lldpd/lldpd.mk b/package/lldpd/lldpd.mk
index 008d4bf..f3f047f 100644
--- a/package/lldpd/lldpd.mk
+++ b/package/lldpd/lldpd.mk
@@ -12,6 +12,10 @@ LLDPD_LICENSE_FILES = README.md
# Touching configure.ac and Makefile.am in our patches:
LLDPD_AUTORECONF = YES
+ifeq ($(BR2_PACKAGE_CHECK),y)
+LLDPD_DEPENDENCIES += check
+endif
+
# Detection of c99 support in configure fails without WCHAR. To enable
# automatic detection of c99 support by configure, we need to enable
# WCHAR in toolchain. But actually we do not need WCHAR at lldpd
--
2.7.4
More information about the buildroot
mailing list