package/collectd: rename --with-yajl
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 10 Nov 2019 20:53:16 +0000 (21:53 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 28 Nov 2019 16:35:37 +0000 (17:35 +0100)
--with-yajl is not recognized so replace it by the correct
--with-libyajl option

The option is named --with-libyajl since a very long time (since at
least version 4.8.0 and
https://github.com/collectd/collectd/commit/f154fb21fbb1fee2f2262d421eca32e7e340f420)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/collectd/collectd.mk

index 820547b51165a1a739373f40b9acab4f81bc0f51..9ff29fcbeaba13a37a051875b1409480988bf5c5 100644 (file)
@@ -202,7 +202,7 @@ COLLECTD_CONF_OPTS += --with-libpq=$(STAGING_DIR)/usr/bin/pg_config
 COLLECTD_CONF_ENV += LIBS="-lpthread -lm"
 endif
 ifeq ($(BR2_PACKAGE_YAJL),y)
-COLLECTD_CONF_OPTS += --with-yajl=$(STAGING_DIR)/usr
+COLLECTD_CONF_OPTS += --with-libyajl=$(STAGING_DIR)/usr
 endif
 
 # network can use libgcrypt