aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/lldpd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-09-24 08:36:10 +0200
committerJo-Philipp Wich <jo@mein.io>2018-09-24 08:36:10 +0200
commit4f277eb6402684ca79c9834e8eb30c0e93368e8b (patch)
treedeb2f670d720c422dba14caf9ea9da0f1d614544 /package/network/services/lldpd
parent9f0cb135dd4078f4df89978abb0f96326133da2c (diff)
downloadupstream-4f277eb6402684ca79c9834e8eb30c0e93368e8b.tar.gz
upstream-4f277eb6402684ca79c9834e8eb30c0e93368e8b.tar.bz2
upstream-4f277eb6402684ca79c9834e8eb30c0e93368e8b.zip
lldpd: inhibit linking of libbsd on !GLIBC
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'package/network/services/lldpd')
-rw-r--r--package/network/services/lldpd/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile
index 02f656a341..3605ed25f9 100644
--- a/package/network/services/lldpd/Makefile
+++ b/package/network/services/lldpd/Makefile
@@ -85,6 +85,10 @@ define Package/lldpd/conffiles
/etc/config/lldpd
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 += \
$(if $(CONFIG_LLDPD_WITH_PRIVSEP), \
--with-privsep-user=lldp \