From: Alexander Couzens Date: Tue, 4 Sep 2018 01:10:24 +0000 (+0200) Subject: package/lldp: don't link against libbsd on !USE_GLIBC builds X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=6b0c658a5cfac6ae964ef4c2a4a345930951929d;p=openwrt%2Fstaging%2Flynxis.git package/lldp: don't link against libbsd on !USE_GLIBC builds --- diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 22b55c6df1..2ce146aa8f 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -109,5 +109,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))