package/syslog-ng: fix libcurl build without C++
Fix the following libcurl build failure without C++ raised since bump to version 4.7.1 in commit105f0398c7
and86feed7bff
: configure: error: C++ support is mandatory when the cloud-auth module is enabled. Fixes:105f0398c7
- http://autobuild.buildroot.org/results/cf36fb119224ba50a768dbe363d4c381f76eb476 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
parent
671b8f4c57
commit
311bb82c9e
@ -61,8 +61,13 @@ endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCURL),y)
|
||||
SYSLOG_NG_DEPENDENCIES += libcurl
|
||||
SYSLOG_NG_CONF_OPTS += --enable-http --enable-cloud-auth
|
||||
SYSLOG_NG_CONF_OPTS += --enable-http
|
||||
SYSLOG_NG_CONF_OPTS += --with-libcurl="$(STAGING_DIR)/usr"
|
||||
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
SYSLOG_NG_CONF_OPTS += --enable-cloud-auth
|
||||
else
|
||||
SYSLOG_NG_CONF_OPTS += --disable-cloud-auth
|
||||
endif
|
||||
else
|
||||
SYSLOG_NG_CONF_OPTS += --disable-http --disable-cloud-auth
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user