From 4f277eb6402684ca79c9834e8eb30c0e93368e8b Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 24 Sep 2018 08:36:10 +0200 Subject: [PATCH] lldpd: inhibit linking of libbsd on !GLIBC Signed-off-by: Jo-Philipp Wich --- package/network/services/lldpd/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 02f656a341..3605ed25f9 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -85,6 +85,10 @@ define Package/lldpd/conffiles /etc/config/lldpd endef +CONFIGURE_VARS += \ + $(if $(CONFIG_USE_GLIBC),,libbsd_CFLAGS=-ldo-not-link-bsd) \ + $(if $(CONFIG_USE_GLIBC),,libbsd_LDFLAGS=-ldo-not-link-bsd) + CONFIGURE_ARGS += \ $(if $(CONFIG_LLDPD_WITH_PRIVSEP), \ --with-privsep-user=lldp \ -- 2.25.1