lldpd: inhibit linking of libbsd on !GLIBC
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from 4f277eb640
)
This commit is contained in:
parent
63b867aded
commit
a3446cb0d2
|
@ -87,6 +87,10 @@ define Package/lldpd/conffiles
|
||||||
/etc/config/lldpd
|
/etc/config/lldpd
|
||||||
endef
|
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 += \
|
CONFIGURE_ARGS += \
|
||||||
$(if $(CONFIG_LLDPD_WITH_PRIVSEP), \
|
$(if $(CONFIG_LLDPD_WITH_PRIVSEP), \
|
||||||
--with-privsep-user=lldp \
|
--with-privsep-user=lldp \
|
||||||
|
|
Loading…
Reference in New Issue