projects
/
openwrt
/
staging
/
lynxis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lldpd: consolidate CONFIGURE_VARS
[openwrt/staging/lynxis.git]
/
package
/
network
/
services
/
lldpd
/
Makefile
diff --git
a/package/network/services/lldpd/Makefile
b/package/network/services/lldpd/Makefile
index 97ae23e1d97511e216a95477b6bcfd31b10d057a..801a772e023f9753d930300d7d73a320cfab53a9 100644
(file)
--- a/
package/network/services/lldpd/Makefile
+++ b/
package/network/services/lldpd/Makefile
@@
-85,10
+85,6
@@
define Package/lldpd/conffiles
/etc/config/lldpd
endef
/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 \
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 += \
# 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))
$(eval $(call BuildPackage,lldpd))