Message ID | 1471171604-16162-2-git-send-email-yann.morin.1998@free.fr |
---|---|
State | Changes Requested |
Headers | show |
On 14-08-16 12:46, Yann E. MORIN wrote: > 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@free.fr> > Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> However, while you're at it, there also seems to be a hidden dependency on valgrind: AC_CHECK_HEADERS([valgrind/valgrind.h]) Regards, Arnout > --- > 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 >
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
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@free.fr> Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com> --- package/lldpd/lldpd.mk | 4 ++++ 1 file changed, 4 insertions(+)