Ver código fonte

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

Signed-off-by: Alexander Couzens <[email protected]>
Alexander Couzens 7 anos atrás
pai
commit
6ef1c978ba
1 arquivos alterados com 3 adições e 0 exclusões
  1. 3 0
      package/network/services/lldpd/Makefile

+ 3 - 0
package/network/services/lldpd/Makefile

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