lldpd: inhibit linking of libbsd on !GLIBC

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2018-09-24 08:36:10 +02:00
parent 9f0cb135dd
commit 4f277eb640
1 changed files with 4 additions and 0 deletions

View File

@ -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 \