mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
lldpd: consolidate CONFIGURE_VARS
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
This commit is contained in:
parent
e59a6c8d4c
commit
c5b89abe2a
@ -85,10 +85,6 @@ 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 \
|
||||
@ -113,6 +109,8 @@ CONFIGURE_ARGS += \
|
||||
|
||||
# there is no flag to disable libbsd
|
||||
CONFIGURE_VARS += \
|
||||
$(if $(CONFIG_USE_GLIBC),,libbsd_LIBS="-lNONexistent")
|
||||
$(if $(CONFIG_USE_GLIBC),,libbsd_CFLAGS=-ldo-not-link-bsd) \
|
||||
$(if $(CONFIG_USE_GLIBC),,libbsd_LDFLAGS=-ldo-not-link-bsd) \
|
||||
$(if $(CONFIG_USE_GLIBC),,libbsd_LIBS="-lNONexistent")
|
||||
|
||||
$(eval $(call BuildPackage,lldpd))
|
||||
|
Loading…
Reference in New Issue
Block a user