aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/lldpd/Makefile
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-09-04 03:10:24 +0200
committerAlexander Couzens <lynxis@fe80.eu>2018-10-05 00:44:55 +0200
commit6ef1c978ba7676516c49439a248564e9a1d8dfc2 (patch)
tree8c88ce3a7e4fa755636c6c8ffc539f5fc87e3d49 /package/network/services/lldpd/Makefile
parent3b53d6fdbc241173b4264aa49142ba94d406a806 (diff)
downloadupstream-6ef1c978ba7676516c49439a248564e9a1d8dfc2.tar.gz
upstream-6ef1c978ba7676516c49439a248564e9a1d8dfc2.tar.bz2
upstream-6ef1c978ba7676516c49439a248564e9a1d8dfc2.zip
package/lldp: don't link against libbsd on !USE_GLIBC builds
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Diffstat (limited to 'package/network/services/lldpd/Makefile')
-rw-r--r--package/network/services/lldpd/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile
index 3605ed25f9..97ae23e1d9 100644
--- a/package/network/services/lldpd/Makefile
+++ b/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))