From 6ef1c978ba7676516c49439a248564e9a1d8dfc2 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 4 Sep 2018 03:10:24 +0200 Subject: [PATCH] package/lldp: don't link against libbsd on !USE_GLIBC builds Signed-off-by: Alexander Couzens --- package/network/services/lldpd/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 3605ed25f9..97ae23e1d9 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -111,5 +111,8 @@ CONFIGURE_ARGS += \ $(if $(CONFIG_LLDPD_WITH_JSON),--with-json=json-c,--with-json=no) \ $(if $(CONFIG_LLDPD_WITH_SNMP),--with-snmp,) +# there is no flag to disable libbsd +CONFIGURE_VARS += \ + $(if $(CONFIG_USE_GLIBC),,libbsd_LIBS="-lNONexistent") $(eval $(call BuildPackage,lldpd)) -- 2.30.2