package/lldp: don't link against libbsd on !USE_GLIBC builds

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
Alexander Couzens 2018-09-04 03:10:24 +02:00
parent 3b53d6fdbc
commit 6ef1c978ba

View File

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