From: Jo-Philipp Wich Date: Mon, 24 Sep 2018 06:36:10 +0000 (+0200) Subject: lldpd: inhibit linking of libbsd on !GLIBC X-Git-Tag: v18.06.2~144 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a3446cb0d227a842bf748b8ca04bb4631bf1ea27;p=oweals%2Fopenwrt.git lldpd: inhibit linking of libbsd on !GLIBC Signed-off-by: Jo-Philipp Wich (backported from 4f277eb6402684ca79c9834e8eb30c0e93368e8b) --- diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 22b55c6df1..78dc54be93 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -87,6 +87,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 \