mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/collectd: disable libupsclient
Disable libupsclient to avoid the following build failure if
libupsclient is installed on host:
src/nut.c:40:2: error: #error "Unable to determine the UPS connection type."
40 | #error "Unable to determine the UPS connection type."
| ^~~~~
src/nut.c:46:3: error: unknown type name 'collectd_upsconn_t'
46 | collectd_upsconn_t *conn;
| ^~~~~~~~~~~~~~~~~~
libupsclient is an optional dependency of nut plugin since version
5.10.0 and
bc2d94024d
Fixes:
- http://autobuild.buildroot.org/results/22b758097e8fb72c68e41329cbc7abc748d81ca6
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
committed by
Yann E. MORIN
parent
283ebbe9e6
commit
0be1c3e921
@@ -45,6 +45,7 @@ COLLECTD_CONF_OPTS += \
|
|||||||
--with-nan-emulation \
|
--with-nan-emulation \
|
||||||
--with-fp-layout=$(COLLECTD_FP_LAYOUT) \
|
--with-fp-layout=$(COLLECTD_FP_LAYOUT) \
|
||||||
--with-perl-bindings=no \
|
--with-perl-bindings=no \
|
||||||
|
--without-libupsclient \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
$(foreach p, $(COLLECTD_PLUGINS_DISABLE), --disable-$(p)) \
|
$(foreach p, $(COLLECTD_PLUGINS_DISABLE), --disable-$(p)) \
|
||||||
$(if $(BR2_PACKAGE_COLLECTD_AGGREGATION),--enable-aggregation,--disable-aggregation) \
|
$(if $(BR2_PACKAGE_COLLECTD_AGGREGATION),--enable-aggregation,--disable-aggregation) \
|
||||||
|
|||||||
Reference in New Issue
Block a user