diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-09-24 08:36:10 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-18 11:28:13 +0100 |
commit | a3446cb0d227a842bf748b8ca04bb4631bf1ea27 (patch) | |
tree | d18bca8db9902e2520a2efd6e8ce9b561886864d /package/network/services | |
parent | 63b867adedf4863ea0354f49a47f6b33d0f6c720 (diff) | |
download | upstream-a3446cb0d227a842bf748b8ca04bb4631bf1ea27.tar.gz upstream-a3446cb0d227a842bf748b8ca04bb4631bf1ea27.tar.bz2 upstream-a3446cb0d227a842bf748b8ca04bb4631bf1ea27.zip |
lldpd: inhibit linking of libbsd on !GLIBC
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(backported from 4f277eb6402684ca79c9834e8eb30c0e93368e8b)
Diffstat (limited to 'package/network/services')
-rw-r--r-- | package/network/services/lldpd/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/services/lldpd/Makefile b/package/network/services/lldpd/Makefile index 22b55c6df1..78dc54be93 100644 --- a/package/network/services/lldpd/Makefile +++ b/package/network/services/lldpd/Makefile @@ -87,6 +87,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 \ |